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

Unified Diff: chrome/browser/search_engines/template_url_service.h

Issue 10375021: Move Extension into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Take 6 Created 8 years, 7 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/search_engines/template_url_service.h
diff --git a/chrome/browser/search_engines/template_url_service.h b/chrome/browser/search_engines/template_url_service.h
index 96338c600330250b1548dd87e8a2a087e50aeee2..b4a9f56ff2eedd4c14b723e80020ead27f626e0a 100644
--- a/chrome/browser/search_engines/template_url_service.h
+++ b/chrome/browser/search_engines/template_url_service.h
@@ -24,7 +24,6 @@
#include "sync/api/sync_change.h"
#include "sync/api/syncable_service.h"
-class Extension;
class GURL;
class PrefService;
class Profile;
@@ -34,6 +33,10 @@ class SyncData;
class SyncErrorFactory;
class TemplateURLServiceObserver;
+namespace extensions {
+class Extension;
+}
+
namespace history {
struct URLVisitedDetails;
}
@@ -174,16 +177,17 @@ class TemplateURLService : public WebDataServiceConsumer,
// If the given extension has an omnibox keyword, adds a TemplateURL for that
// keyword. Only 1 keyword is allowed for a given extension. If the keyword
// already exists for this extension, does nothing.
- void RegisterExtensionKeyword(const Extension* extension);
+ void RegisterExtensionKeyword(const extensions::Extension* extension);
// Removes the TemplateURL containing the keyword for the given extension,
// if any.
- void UnregisterExtensionKeyword(const Extension* extension);
+ void UnregisterExtensionKeyword(const extensions::Extension* extension);
// Returns the TemplateURL associated with the keyword for this extension.
// This works by checking the extension ID, not the keyword, so it will work
// even if the user changed the keyword.
- TemplateURL* GetTemplateURLForExtension(const Extension* extension);
+ TemplateURL* GetTemplateURLForExtension(
+ const extensions::Extension* extension);
// Returns the set of URLs describing the keywords. The elements are owned
// by TemplateURLService and should not be deleted.

Powered by Google App Engine
This is Rietveld 408576698