summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/testing_browser_process.cc
diff options
context:
space:
mode:
authoryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 06:38:26 +0000
committeryurys@chromium.org <yurys@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-22 06:38:26 +0000
commitdc8614a01d9e46eb5d7848141d5d189295c5f31c (patch)
treec8f53c74ac761de43e8db0fe10b8034a6ac3fcf1 /chrome/test/base/testing_browser_process.cc
parent9db0f6980e94e86eaa170f0b9035eb377f9742c0 (diff)
downloadchromium_src-dc8614a01d9e46eb5d7848141d5d189295c5f31c.zip
chromium_src-dc8614a01d9e46eb5d7848141d5d189295c5f31c.tar.gz
chromium_src-dc8614a01d9e46eb5d7848141d5d189295c5f31c.tar.bz2
Make DevToolsManager a singleton, remove it from ContentBrowserClient.
DevToolsManager should be created and destroyed inside content implementation, not by the embedder. BUG=104625 TEST=Exising tests Review URL: http://codereview.chromium.org/8609010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111106 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/base/testing_browser_process.cc')
-rw-r--r--chrome/test/base/testing_browser_process.cc12
1 files changed, 1 insertions, 11 deletions
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
index 9ac09de..939848b 100644
--- a/chrome/test/base/testing_browser_process.cc
+++ b/chrome/test/base/testing_browser_process.cc
@@ -13,7 +13,6 @@
#include "chrome/browser/printing/background_printing_manager.h"
#include "chrome/browser/printing/print_preview_tab_controller.h"
#include "chrome/browser/profiles/profile_manager.h"
-#include "content/browser/debugger/devtools_manager.h"
#include "net/url_request/url_request_context_getter.h"
#include "ui/base/clipboard/clipboard.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -22,8 +21,7 @@ TestingBrowserProcess::TestingBrowserProcess()
: module_ref_count_(0),
app_locale_("en"),
local_state_(NULL),
- io_thread_(NULL),
- devtools_manager_(NULL) {
+ io_thread_(NULL) {
}
TestingBrowserProcess::~TestingBrowserProcess() {
@@ -96,10 +94,6 @@ ThumbnailGenerator* TestingBrowserProcess::GetThumbnailGenerator() {
return NULL;
}
-DevToolsManager* TestingBrowserProcess::devtools_manager() {
- return devtools_manager_.get();
-}
-
SidebarManager* TestingBrowserProcess::sidebar_manager() {
return NULL;
}
@@ -272,10 +266,6 @@ void TestingBrowserProcess::SetIOThread(IOThread* io_thread) {
io_thread_ = io_thread;
}
-void TestingBrowserProcess::SetDevToolsManager(DevToolsManager* manager) {
- devtools_manager_.reset(manager);
-}
-
void TestingBrowserProcess::SetBrowserPolicyConnector(
policy::BrowserPolicyConnector* connector) {
browser_policy_connector_.reset(connector);