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

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

Issue 189233008: DevTools: remove the --remote-debugging-frontend flag. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: For landing Created 6 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/apps/chrome_apps_client.h" 10 #include "chrome/browser/apps/chrome_apps_client.h"
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 return NULL; 238 return NULL;
239 } 239 }
240 240
241 AutomationProviderList* TestingBrowserProcess::GetAutomationProviderList() { 241 AutomationProviderList* TestingBrowserProcess::GetAutomationProviderList() {
242 return NULL; 242 return NULL;
243 } 243 }
244 244
245 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler( 245 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler(
246 chrome::HostDesktopType host_desktop_type, 246 chrome::HostDesktopType host_desktop_type,
247 const std::string& ip, 247 const std::string& ip,
248 int port, 248 int port) {
249 const std::string& frontend_url) {
250 } 249 }
251 250
252 unsigned int TestingBrowserProcess::AddRefModule() { 251 unsigned int TestingBrowserProcess::AddRefModule() {
253 return ++module_ref_count_; 252 return ++module_ref_count_;
254 } 253 }
255 254
256 unsigned int TestingBrowserProcess::ReleaseModule() { 255 unsigned int TestingBrowserProcess::ReleaseModule() {
257 DCHECK_GT(module_ref_count_, 0U); 256 DCHECK_GT(module_ref_count_, 0U);
258 return --module_ref_count_; 257 return --module_ref_count_;
259 } 258 }
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 434
436 /////////////////////////////////////////////////////////////////////////////// 435 ///////////////////////////////////////////////////////////////////////////////
437 436
438 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { 437 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {
439 TestingBrowserProcess::CreateInstance(); 438 TestingBrowserProcess::CreateInstance();
440 } 439 }
441 440
442 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { 441 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() {
443 TestingBrowserProcess::DeleteInstance(); 442 TestingBrowserProcess::DeleteInstance();
444 } 443 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | content/browser/devtools/devtools_http_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698