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

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

Issue 1691813003: Add --auto-open-devtools-for-tabs flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: close last DevToolsWindow Created 4 years, 10 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
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/strings/string_util.h" 7 #include "base/strings/string_util.h"
8 #include "base/time/default_tick_clock.h" 8 #include "base/time/default_tick_clock.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 #endif 251 #endif
252 } 252 }
253 253
254 message_center::MessageCenter* TestingBrowserProcess::message_center() { 254 message_center::MessageCenter* TestingBrowserProcess::message_center() {
255 return message_center::MessageCenter::Get(); 255 return message_center::MessageCenter::Get();
256 } 256 }
257 257
258 IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() { 258 IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() {
259 return nullptr; 259 return nullptr;
260 } 260 }
261
261 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler( 262 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler(
262 const std::string& ip, 263 const std::string& ip,
263 uint16_t port) {} 264 uint16_t port) {
265 }
266
267 void TestingBrowserProcess::CreateDevToolsAutoOpener() {
268 }
264 269
265 unsigned int TestingBrowserProcess::AddRefModule() { 270 unsigned int TestingBrowserProcess::AddRefModule() {
266 return ++module_ref_count_; 271 return ++module_ref_count_;
267 } 272 }
268 273
269 unsigned int TestingBrowserProcess::ReleaseModule() { 274 unsigned int TestingBrowserProcess::ReleaseModule() {
270 DCHECK_GT(module_ref_count_, 0U); 275 DCHECK_GT(module_ref_count_, 0U);
271 return --module_ref_count_; 276 return --module_ref_count_;
272 } 277 }
273 278
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 465
461 /////////////////////////////////////////////////////////////////////////////// 466 ///////////////////////////////////////////////////////////////////////////////
462 467
463 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { 468 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {
464 TestingBrowserProcess::CreateInstance(); 469 TestingBrowserProcess::CreateInstance();
465 } 470 }
466 471
467 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { 472 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() {
468 TestingBrowserProcess::DeleteInstance(); 473 TestingBrowserProcess::DeleteInstance();
469 } 474 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698