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

Unified Diff: chrome/browser/extensions/external_extension_provider_impl.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/external_extension_provider_impl.h
diff --git a/chrome/browser/extensions/external_extension_provider_impl.h b/chrome/browser/extensions/external_extension_provider_impl.h
index 1436fdf191bdb40955bde0cf8fdd65b850e636fc..9de9374ddcaff30f57e2755b9b5ab0a0cb0e9075 100644
--- a/chrome/browser/extensions/external_extension_provider_impl.h
+++ b/chrome/browser/extensions/external_extension_provider_impl.h
@@ -21,6 +21,10 @@ namespace base {
class DictionaryValue;
}
+namespace extensions {
+class Extension;
+}
+
// A specialization of the ExternalExtensionProvider that uses an instance
// of ExternalExtensionLoader to provide external extensions. This class
// can be seen as a bridge between the extension system and an
@@ -38,8 +42,8 @@ class ExternalExtensionProviderImpl
ExternalExtensionProviderImpl(
VisitorInterface* service,
ExternalExtensionLoader* loader,
- Extension::Location crx_location,
- Extension::Location download_location,
+ extensions::Extension::Location crx_location,
+ extensions::Extension::Location download_location,
int creation_flags);
virtual ~ExternalExtensionProviderImpl();
@@ -59,7 +63,7 @@ class ExternalExtensionProviderImpl
virtual void VisitRegisteredExtension() OVERRIDE;
virtual bool HasExtension(const std::string& id) const OVERRIDE;
virtual bool GetExtensionDetails(const std::string& id,
- Extension::Location* location,
+ extensions::Extension::Location* location,
scoped_ptr<Version>* version) const OVERRIDE;
virtual bool IsReady() const OVERRIDE;
@@ -77,11 +81,11 @@ class ExternalExtensionProviderImpl
private:
// Location for external extensions that are provided by this provider from
// local crx files.
- const Extension::Location crx_location_;
+ const extensions::Extension::Location crx_location_;
// Location for external extensions that are provided by this provider from
// update URLs.
- const Extension::Location download_location_;
+ const extensions::Extension::Location download_location_;
// Weak pointer to the object that consumes the external extensions.
// This is zeroed out by: ServiceShutdown()

Powered by Google App Engine
This is Rietveld 408576698