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

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

Issue 1689423003: Remove HostDesktopType from remote dev tools (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler( 261 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler(
262 chrome::HostDesktopType host_desktop_type,
263 const std::string& ip, 262 const std::string& ip,
264 uint16_t port) {} 263 uint16_t port) {}
265 264
266 unsigned int TestingBrowserProcess::AddRefModule() { 265 unsigned int TestingBrowserProcess::AddRefModule() {
267 return ++module_ref_count_; 266 return ++module_ref_count_;
268 } 267 }
269 268
270 unsigned int TestingBrowserProcess::ReleaseModule() { 269 unsigned int TestingBrowserProcess::ReleaseModule() {
271 DCHECK_GT(module_ref_count_, 0U); 270 DCHECK_GT(module_ref_count_, 0U);
272 return --module_ref_count_; 271 return --module_ref_count_;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
461 460
462 /////////////////////////////////////////////////////////////////////////////// 461 ///////////////////////////////////////////////////////////////////////////////
463 462
464 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { 463 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {
465 TestingBrowserProcess::CreateInstance(); 464 TestingBrowserProcess::CreateInstance();
466 } 465 }
467 466
468 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { 467 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() {
469 TestingBrowserProcess::DeleteInstance(); 468 TestingBrowserProcess::DeleteInstance();
470 } 469 }
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