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

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

Issue 10909130: autocomplete: Add AutocompleteProvider::Type enum. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update comments Created 8 years, 3 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 c66d024402b98bfdeb0c4485b448c26fcaeb1d77..2599448fa393d579666c3bbb71e6be2a2553cb80 100644
--- a/chrome/browser/autocomplete/autocomplete_controller.h
+++ b/chrome/browser/autocomplete/autocomplete_controller.h
@@ -50,8 +50,13 @@ class AutocompleteController : public AutocompleteProviderListener {
// second to set the providers to some known testing providers. The default
// providers will be overridden and the controller will take ownership of the
// providers, Release()ing them on destruction.
+ //
+ // |provider_types| is a bitmap containing AutocompleteProvider::Type values
+ // that will (potentially, depending on platform, flags, etc.) be
+ // instantiated.
AutocompleteController(Profile* profile,
- AutocompleteControllerDelegate* delegate);
+ AutocompleteControllerDelegate* delegate,
+ int provider_types);
#ifdef UNIT_TEST
AutocompleteController(const ACProviders& providers, Profile* profile)
: delegate_(NULL),

Powered by Google App Engine
This is Rietveld 408576698