Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8157)

Unified Diff: chrome/browser/profile.h

Issue 328031: Refactor paste and go out of AutocompleteEdit. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: style fixes Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/automation/automation_profile_impl.h ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_;
« no previous file with comments | « chrome/browser/automation/automation_profile_impl.h ('k') | chrome/browser/profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698