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

Unified Diff: chrome/browser/autocomplete/autocomplete_controller.h

Issue 363893002: Revert of Reduces dependency from AutocompleteMatch to Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: chrome/browser/autocomplete/autocomplete_controller.h
diff --git a/chrome/browser/autocomplete/autocomplete_controller.h b/chrome/browser/autocomplete/autocomplete_controller.h
index 51794ce1303b192a82efed4b598955e4dde92e12..ed38d4189560adae5ea8f87c4d318b2f4c008bff 100644
--- a/chrome/browser/autocomplete/autocomplete_controller.h
+++ b/chrome/browser/autocomplete/autocomplete_controller.h
@@ -21,7 +21,6 @@
class KeywordProvider;
class Profile;
class SearchProvider;
-class TemplateURLService;
class ZeroSuggestProvider;
// The AutocompleteController is the center of the autocomplete system. A
@@ -48,10 +47,8 @@
public:
// |provider_types| is a bitmap containing AutocompleteProvider::Type values
// that will (potentially, depending on platform, flags, etc.) be
- // instantiated. |template_url_service| is used to create URLs from the
- // autocomplete results.
+ // instantiated.
AutocompleteController(Profile* profile,
- TemplateURLService* template_url_service,
AutocompleteControllerDelegate* delegate,
int provider_types);
~AutocompleteController();
@@ -240,7 +237,7 @@
// notifications until Start() has been invoked on all providers.
bool in_start_;
- TemplateURLService* template_url_service_;
+ Profile* profile_;
DISALLOW_COPY_AND_ASSIGN(AutocompleteController);
};
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_classifier_factory.cc ('k') | chrome/browser/autocomplete/autocomplete_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698