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

Unified Diff: chrome/browser/extensions/extension_system_factory.cc

Issue 10626007: Move ExtensionSystem into extensions namespace (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 6 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/extension_system_factory.cc
diff --git a/chrome/browser/extensions/extension_system_factory.cc b/chrome/browser/extensions/extension_system_factory.cc
index c1700780b5adb5dd1e9ddde60c496c7cd33565f7..a9c98fae85a7487a8b3cba7ec61ca53376ab42bf 100644
--- a/chrome/browser/extensions/extension_system_factory.cc
+++ b/chrome/browser/extensions/extension_system_factory.cc
@@ -17,9 +17,9 @@
// ExtensionSystemSharedFactory
// static
-ExtensionSystemImpl::Shared* ExtensionSystemSharedFactory::GetForProfile(
- Profile* profile) {
- return static_cast<ExtensionSystemImpl::Shared*>(
+extensions::ExtensionSystemImpl::Shared*
+ ExtensionSystemSharedFactory::GetForProfile(Profile* profile) {
+ return static_cast<extensions::ExtensionSystemImpl::Shared*>(
GetInstance()->GetServiceForProfile(profile, true));
}
@@ -43,7 +43,7 @@ ExtensionSystemSharedFactory::~ExtensionSystemSharedFactory() {
ProfileKeyedService* ExtensionSystemSharedFactory::BuildServiceInstanceFor(
Profile* profile) const {
- return new ExtensionSystemImpl::Shared(profile);
+ return new extensions::ExtensionSystemImpl::Shared(profile);
}
bool ExtensionSystemSharedFactory::ServiceRedirectedInIncognito() {
@@ -53,8 +53,9 @@ bool ExtensionSystemSharedFactory::ServiceRedirectedInIncognito() {
// ExtensionSystemFactory
// static
-ExtensionSystem* ExtensionSystemFactory::GetForProfile(Profile* profile) {
- return static_cast<ExtensionSystem*>(
+extensions::ExtensionSystem* ExtensionSystemFactory::GetForProfile(
+ Profile* profile) {
+ return static_cast<extensions::ExtensionSystem*>(
GetInstance()->GetServiceForProfile(profile, true));
}
@@ -75,7 +76,7 @@ ExtensionSystemFactory::~ExtensionSystemFactory() {
ProfileKeyedService* ExtensionSystemFactory::BuildServiceInstanceFor(
Profile* profile) const {
- return new ExtensionSystemImpl(profile);
+ return new extensions::ExtensionSystemImpl(profile);
}
bool ExtensionSystemFactory::ServiceHasOwnInstanceInIncognito() {

Powered by Google App Engine
This is Rietveld 408576698