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

Unified Diff: apps/shell/shell_browser_main_parts.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 | « apps/saved_files_service_unittest.cc ('k') | apps/shell/shell_extension_system.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: apps/shell/shell_browser_main_parts.cc
diff --git a/apps/shell/shell_browser_main_parts.cc b/apps/shell/shell_browser_main_parts.cc
index c8dd2a1b2322961bfbfbc388f9bc266682ec1972..e10c85768cf61b64267e44398f9b7385cd371626 100644
--- a/apps/shell/shell_browser_main_parts.cc
+++ b/apps/shell/shell_browser_main_parts.cc
@@ -13,10 +13,10 @@
#include "base/files/file_path.h"
#include "base/path_service.h"
#include "base/run_loop.h"
-#include "chrome/browser/extensions/extension_system.h"
#include "chrome/common/chrome_paths.h"
#include "components/browser_context_keyed_service/browser_context_dependency_manager.h"
#include "content/public/common/result_codes.h"
+#include "extensions/browser/extension_system.h"
#include "extensions/browser/renderer_startup_helper.h"
#include "extensions/common/extension_paths.h"
#include "ui/aura/env.h"
@@ -170,7 +170,7 @@ void ShellBrowserMainParts::DestroyRootWindow() {
void ShellBrowserMainParts::CreateExtensionSystem() {
DCHECK(browser_context_);
extension_system_ = static_cast<ShellExtensionSystem*>(
- ExtensionSystem::GetForBrowserContext(browser_context_.get()));
+ ExtensionSystem::Get(browser_context_.get()));
extension_system_->InitForRegularProfile(true);
}
« no previous file with comments | « apps/saved_files_service_unittest.cc ('k') | apps/shell/shell_extension_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698