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

Side by Side Diff: chrome/test/base/testing_browser_process.cc

Issue 8635005: DevTools: remove support for legacy remote debugger (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed tests compilation 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/test/base/testing_browser_process.h" 5 #include "chrome/test/base/testing_browser_process.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "chrome/browser/google/google_url_tracker.h" 8 #include "chrome/browser/google/google_url_tracker.h"
9 #include "chrome/browser/notifications/notification_ui_manager.h" 9 #include "chrome/browser/notifications/notification_ui_manager.h"
10 #include "chrome/browser/policy/browser_policy_connector.h" 10 #include "chrome/browser/policy/browser_policy_connector.h"
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 return NULL; 161 return NULL;
162 } 162 }
163 163
164 void TestingBrowserProcess::InitDevToolsHttpProtocolHandler( 164 void TestingBrowserProcess::InitDevToolsHttpProtocolHandler(
165 Profile* profile, 165 Profile* profile,
166 const std::string& ip, 166 const std::string& ip,
167 int port, 167 int port,
168 const std::string& frontend_url) { 168 const std::string& frontend_url) {
169 } 169 }
170 170
171 void TestingBrowserProcess::InitDevToolsLegacyProtocolHandler(int port) {
172 }
173
174 unsigned int TestingBrowserProcess::AddRefModule() { 171 unsigned int TestingBrowserProcess::AddRefModule() {
175 return ++module_ref_count_; 172 return ++module_ref_count_;
176 } 173 }
177 174
178 unsigned int TestingBrowserProcess::ReleaseModule() { 175 unsigned int TestingBrowserProcess::ReleaseModule() {
179 DCHECK_GT(module_ref_count_, 0U); 176 DCHECK_GT(module_ref_count_, 0U);
180 return --module_ref_count_; 177 return --module_ref_count_;
181 } 178 }
182 179
183 bool TestingBrowserProcess::IsShuttingDown() { 180 bool TestingBrowserProcess::IsShuttingDown() {
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 } 260 }
264 261
265 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { 262 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) {
266 io_thread_ = io_thread; 263 io_thread_ = io_thread;
267 } 264 }
268 265
269 void TestingBrowserProcess::SetBrowserPolicyConnector( 266 void TestingBrowserProcess::SetBrowserPolicyConnector(
270 policy::BrowserPolicyConnector* connector) { 267 policy::BrowserPolicyConnector* connector) {
271 browser_policy_connector_.reset(connector); 268 browser_policy_connector_.reset(connector);
272 } 269 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698