Index: chrome/browser/profile.h |
=================================================================== |
--- chrome/browser/profile.h (revision 30347) |
+++ chrome/browser/profile.h (working copy) |
@@ -43,6 +43,7 @@ |
class PasswordStore; |
class PrefService; |
class ProfileSyncService; |
+class SearchVersusNavigateClassifier; |
class SessionService; |
class SpellChecker; |
class SSLConfigServiceManager; |
@@ -201,6 +202,12 @@ |
// doesn't already exist. |
virtual HistoryService* GetHistoryServiceWithoutCreating() = 0; |
+ // Retrieves a pointer to the SearchVersusNavigateClassifier associated with |
+ // this profile. The SearchVersusNavigateClassifier is lazily created the |
+ // first time that this method is called. |
+ virtual SearchVersusNavigateClassifier* |
+ GetSearchVersusNavigateClassifier() = 0; |
+ |
// Returns the WebDataService for this profile. This is owned by |
// the Profile. Callers that outlive the life of this profile need to be |
// sure they refcount the returned value. |
@@ -405,6 +412,7 @@ |
virtual FaviconService* GetFaviconService(ServiceAccessType sat); |
virtual HistoryService* GetHistoryService(ServiceAccessType sat); |
virtual HistoryService* GetHistoryServiceWithoutCreating(); |
+ virtual SearchVersusNavigateClassifier* GetSearchVersusNavigateClassifier(); |
virtual WebDataService* GetWebDataService(ServiceAccessType sat); |
virtual WebDataService* GetWebDataServiceWithoutCreating(); |
virtual PasswordStore* GetPasswordStore(ServiceAccessType sat); |
@@ -515,6 +523,7 @@ |
scoped_refptr<DownloadManager> download_manager_; |
scoped_refptr<HistoryService> history_service_; |
scoped_refptr<FaviconService> favicon_service_; |
+ scoped_ptr<SearchVersusNavigateClassifier> search_versus_navigate_classifier_; |
scoped_refptr<WebDataService> web_data_service_; |
scoped_refptr<PasswordStore> password_store_; |
scoped_refptr<SessionService> session_service_; |