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

Unified Diff: chrome/browser/apps/ephemeral_app_service_factory.cc

Issue 148083014: ExtensionSystem cleanup part 3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac Created 6 years, 10 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
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_classifier_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/apps/ephemeral_app_service_factory.cc
diff --git a/chrome/browser/apps/ephemeral_app_service_factory.cc b/chrome/browser/apps/ephemeral_app_service_factory.cc
index b4115abc1875bd1c50941728d1cf06799e23ef15..d7f320663557a868e30da4527d57931033206ba6 100644
--- a/chrome/browser/apps/ephemeral_app_service_factory.cc
+++ b/chrome/browser/apps/ephemeral_app_service_factory.cc
@@ -5,12 +5,12 @@
#include "chrome/browser/apps/ephemeral_app_service_factory.h"
#include "chrome/browser/apps/ephemeral_app_service.h"
-#include "chrome/browser/extensions/extension_system_factory.h"
#include "chrome/browser/profiles/profile.h"
#include "components/browser_context_keyed_service/browser_context_dependency_manager.h"
+#include "extensions/browser/extension_system_provider.h"
#include "extensions/browser/extensions_browser_client.h"
-using extensions::ExtensionSystemFactory;
+using extensions::ExtensionsBrowserClient;
// static
EphemeralAppService*
@@ -28,7 +28,7 @@ EphemeralAppServiceFactory::EphemeralAppServiceFactory()
: BrowserContextKeyedServiceFactory(
"EphemeralAppService",
BrowserContextDependencyManager::GetInstance()) {
- DependsOn(ExtensionSystemFactory::GetInstance());
+ DependsOn(ExtensionsBrowserClient::Get()->GetExtensionSystemFactory());
}
EphemeralAppServiceFactory::~EphemeralAppServiceFactory() {
@@ -41,8 +41,7 @@ BrowserContextKeyedService* EphemeralAppServiceFactory::BuildServiceInstanceFor(
content::BrowserContext* EphemeralAppServiceFactory::GetBrowserContextToUse(
content::BrowserContext* context) const {
- return extensions::ExtensionsBrowserClient::Get()->
- GetOriginalContext(context);
+ return ExtensionsBrowserClient::Get()->GetOriginalContext(context);
}
bool EphemeralAppServiceFactory::ServiceIsCreatedWithBrowserContext() const {
« no previous file with comments | « no previous file | chrome/browser/autocomplete/autocomplete_classifier_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698