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

Unified Diff: chrome/test/base/testing_browser_process.cc

Issue 8609010: Make DevToolsManager a singleton, remove it from ContentBrowserClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Reverted notification service changes, use non-leaky singleton Created 9 years, 1 month 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/test/base/testing_browser_process.h ('k') | content/browser/debugger/devtools_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/testing_browser_process.cc
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc
index f0052521eae0ba8cb6c409654b5e31eb3e2fc05f..e13e2332a2ac59b9a644593e5ea8c7d25b5e1b9a 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() {
@@ -98,10 +96,6 @@ ThumbnailGenerator* TestingBrowserProcess::GetThumbnailGenerator() {
return NULL;
}
-DevToolsManager* TestingBrowserProcess::devtools_manager() {
- return devtools_manager_.get();
-}
-
SidebarManager* TestingBrowserProcess::sidebar_manager() {
return NULL;
}
@@ -274,10 +268,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);
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | content/browser/debugger/devtools_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698