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

Unified Diff: chrome/browser/autocomplete/extension_app_provider.cc

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: re^3base Created 6 years, 11 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 | « chrome/browser/apps/shortcut_manager.cc ('k') | chrome/browser/autocomplete/keyword_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/extension_app_provider.cc
diff --git a/chrome/browser/autocomplete/extension_app_provider.cc b/chrome/browser/autocomplete/extension_app_provider.cc
index 4687bdedd578ab1c98a9fbc70f3fe8fdfbb28971..dc5445da3879b29ae8f8679d09557dbef9a894c6 100644
--- a/chrome/browser/autocomplete/extension_app_provider.cc
+++ b/chrome/browser/autocomplete/extension_app_provider.cc
@@ -46,8 +46,7 @@ void ExtensionAppProvider::LaunchAppFromOmnibox(
Profile* profile,
WindowOpenDisposition disposition) {
ExtensionService* service =
- extensions::ExtensionSystemFactory::GetForProfile(profile)->
- extension_service();
+ extensions::ExtensionSystem::Get(profile)->extension_service();
const extensions::Extension* extension =
service->GetInstalledApp(match.destination_url);
// While the Omnibox popup is open, the extension can be updated, changing
@@ -150,8 +149,7 @@ ExtensionAppProvider::~ExtensionAppProvider() {
void ExtensionAppProvider::RefreshAppList() {
ExtensionService* extension_service =
- extensions::ExtensionSystemFactory::GetForProfile(profile_)->
- extension_service();
+ extensions::ExtensionSystem::Get(profile_)->extension_service();
if (!extension_service)
return; // During testing, there is no extension service.
const extensions::ExtensionSet* extensions = extension_service->extensions();
« no previous file with comments | « chrome/browser/apps/shortcut_manager.cc ('k') | chrome/browser/autocomplete/keyword_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698