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

Unified Diff: chrome/browser/extensions/test_extension_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/extensions/test_extension_service.h
diff --git a/chrome/browser/extensions/test_extension_service.h b/chrome/browser/extensions/test_extension_service.h
index 699f88ce20fb1a87d1f1832c969b720c92142732..e445f2002144b0d357a9535b3ac274f0d30755c1 100644
--- a/chrome/browser/extensions/test_extension_service.h
+++ b/chrome/browser/extensions/test_extension_service.h
@@ -14,6 +14,10 @@
class CrxInstaller;
class SyncErrorFactory;
+namespace extensions {
+class Extension;
+}
+
// Implemention of ExtensionServiceInterface with default
// implementations for methods that add failures. You should subclass
// this and override the methods you care about.
@@ -31,9 +35,9 @@ class TestExtensionService : public ExtensionServiceInterface {
const FilePath& path,
const GURL& download_url,
CrxInstaller** out_crx_installer) OVERRIDE;
- virtual const Extension* GetExtensionById(
+ virtual const extensions::Extension* GetExtensionById(
const std::string& id, bool include_disabled) const OVERRIDE;
- virtual const Extension* GetInstalledExtension(
+ virtual const extensions::Extension* GetInstalledExtension(
const std::string& id) const OVERRIDE;
virtual bool IsExtensionEnabled(
const std::string& extension_id) const OVERRIDE;
@@ -58,13 +62,14 @@ class TestExtensionService : public ExtensionServiceInterface {
virtual bool is_ready() OVERRIDE;
- virtual void AddExtension(const Extension* extension) OVERRIDE;
+ virtual void AddExtension(const extensions::Extension* extension) OVERRIDE;
virtual void UnloadExtension(
const std::string& extension_id,
extension_misc::UnloadedExtensionReason reason) OVERRIDE;
- virtual void SyncExtensionChangeIfNeeded(const Extension& extension) OVERRIDE;
+ virtual void SyncExtensionChangeIfNeeded(
+ const extensions::Extension& extension) OVERRIDE;
};
#endif // CHROME_BROWSER_EXTENSIONS_TEST_EXTENSION_SERVICE_H_
« no previous file with comments | « chrome/browser/extensions/test_extension_prefs.cc ('k') | chrome/browser/extensions/test_extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698