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

Unified Diff: chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc

Issue 671763002: Extract ProcessManager from ExtensionSystem. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 6 years, 2 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/ui/app_modal_dialogs/javascript_dialog_manager.cc
diff --git a/chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc b/chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc
index d6c74a85345682bb9f2091f16a7b87ecc26519e4..4b770cce29324d6e1820617d7def7ad3f401ea27 100644
--- a/chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc
+++ b/chrome/browser/ui/app_modal_dialogs/javascript_dialog_manager.cc
@@ -21,8 +21,8 @@
#include "ui/base/l10n/l10n_util.h"
#if defined(ENABLE_EXTENSIONS)
-#include "extensions/browser/extension_system.h"
#include "extensions/browser/process_manager.h"
+#include "extensions/common/extension.h"
#endif // defined(ENABLE_EXTENSIONS)
using content::BrowserContext;
@@ -39,8 +39,7 @@ namespace {
// Returns the ProcessManager for the browser context from |web_contents|.
extensions::ProcessManager* GetExtensionsProcessManager(
WebContents* web_contents) {
- return extensions::ExtensionSystem::Get(
- web_contents->GetBrowserContext())->process_manager();
+ return extensions::ProcessManager::Get(web_contents->GetBrowserContext());
}
// Returns the extension associated with |web_contents| or NULL if there is no

Powered by Google App Engine
This is Rietveld 408576698