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

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

Issue 460313002: No chrome dependencies in KeywordProvider (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename setter Created 6 years, 4 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/keyword_extensions_delegate.h
diff --git a/chrome/browser/autocomplete/keyword_extensions_delegate.h b/chrome/browser/autocomplete/keyword_extensions_delegate.h
index cb4f13b922afbb21b0933e071baed114cbf15f21..d4ab571dbc2413c0c7f580c7fe588255881b402f 100644
--- a/chrome/browser/autocomplete/keyword_extensions_delegate.h
+++ b/chrome/browser/autocomplete/keyword_extensions_delegate.h
@@ -18,7 +18,6 @@
class AutocompleteInput;
class KeywordProvider;
-class Profile;
class TemplateURL;
class KeywordExtensionsDelegate {
@@ -30,9 +29,8 @@ class KeywordExtensionsDelegate {
// extension are current.
virtual void IncrementInputId();
- // Returns true if an extension is enabled in a given profile.
- virtual bool IsEnabledExtension(Profile* profile,
- const std::string& extension_id);
+ // Returns true if an extension is enabled.
+ virtual bool IsEnabledExtension(const std::string& extension_id);
// Handles the extensions portion of KeywordProvider::Start().
// Depending on |minimal_changes| and whether |input| wants matches
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_controller.cc ('k') | chrome/browser/autocomplete/keyword_extensions_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698