summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_service_test_base.cc
diff options
context:
space:
mode:
authorreillyg <reillyg@chromium.org>2014-10-28 08:30:23 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-28 15:30:47 +0000
commit0ea3fa90a36f091c943e286ade39b0252e5d34d7 (patch)
tree46bbe1b91e168c2d172699f5a1a52dd8634f33be /chrome/browser/extensions/extension_service_test_base.cc
parentecfca4638d05a0f4b5839f52a00ed4ebc4d3f756 (diff)
downloadchromium_src-0ea3fa90a36f091c943e286ade39b0252e5d34d7.zip
chromium_src-0ea3fa90a36f091c943e286ade39b0252e5d34d7.tar.gz
chromium_src-0ea3fa90a36f091c943e286ade39b0252e5d34d7.tar.bz2
Extract ProcessManager from ExtensionSystem.
This change removes ProcessManager's //chrome dependency because while ProcessManager and ExtensionSystem are in //extensions the ExtensionSystemFactory is in //chrome. This allows a service in //extensions to declare a dependency on the ProcessManager's factory directly. Most of this patch is changing, extensions::ExtensionSystem::Get(profile_)->process_manager() to, extensions::ProcessManager::Get(profile_). BUG= TBR=erikwright@chromium.org Review URL: https://codereview.chromium.org/671763002 Cr-Commit-Position: refs/heads/master@{#301636}
Diffstat (limited to 'chrome/browser/extensions/extension_service_test_base.cc')
-rw-r--r--chrome/browser/extensions/extension_service_test_base.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/extensions/extension_service_test_base.cc b/chrome/browser/extensions/extension_service_test_base.cc
index 365e377..9cc4b6ce 100644
--- a/chrome/browser/extensions/extension_service_test_base.cc
+++ b/chrome/browser/extensions/extension_service_test_base.cc
@@ -170,11 +170,6 @@ void ExtensionServiceTestBase::InitializeExtensionServiceWithUpdater() {
service_->updater()->Start();
}
-void ExtensionServiceTestBase::InitializeProcessManager() {
- static_cast<extensions::TestExtensionSystem*>(
- ExtensionSystem::Get(profile_.get()))->CreateProcessManager();
-}
-
void ExtensionServiceTestBase::SetUp() {
ExtensionErrorReporter::GetInstance()->ClearErrors();
}