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

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 2 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 87469c271688df6190838fbd74429ba0b47ae7e6..e2852bc3bead2468e47e766c3705899d8bfd1c59 100644
--- a/chrome/browser/search_engines/template_url_service.h
+++ b/chrome/browser/search_engines/template_url_service.h
@@ -24,7 +24,6 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.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