Bug 320422 r=annie.sullivan: Rename nav-history/nsINavHistory to nav-history-service/nsINavHistoryService

Original committer: brettw%gmail.com
Original revision: 1.34
Original date: 2005/12/16 00:40:48
This commit is contained in:
benjamin%smedbergs.us 2006-07-18 15:32:44 +00:00
Родитель ad0c67e476
Коммит 1e6d4892ec
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -48,7 +48,7 @@
#include "nsCOMPtr.h"
#include "nsDataHashtable.h"
#include "nsIAtom.h"
#include "nsINavHistory.h"
#include "nsINavHistoryService.h"
#include "nsIAutoCompleteSearch.h"
#include "nsIAutoCompleteResult.h"
#include "nsIAutoCompleteResultTypes.h"
@ -440,7 +440,7 @@ class AutoCompleteIntermediateResultSet;
// nsNavHistory
class nsNavHistory : public nsSupportsWeakReference,
public nsINavHistory,
public nsINavHistoryService,
public nsIObserver,
public nsIBrowserHistory,
public nsIAutoCompleteSearch
@ -451,7 +451,7 @@ public:
NS_DECL_ISUPPORTS
NS_DECL_NSINAVHISTORY
NS_DECL_NSINAVHISTORYSERVICE
NS_DECL_NSIGLOBALHISTORY2
NS_DECL_NSIBROWSERHISTORY
NS_DECL_NSIOBSERVER
@ -468,7 +468,7 @@ public:
{
if (! gHistoryService) {
nsresult rv;
nsCOMPtr<nsINavHistory> serv(do_GetService("@mozilla.org/browser/nav-history;1", &rv));
nsCOMPtr<nsINavHistoryService> serv(do_GetService("@mozilla.org/browser/nav-history-service;1", &rv));
NS_ENSURE_SUCCESS(rv, nsnull);
// our constructor should have set the static variable. If it didn't,