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

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

Issue 1548153002: Switch to standard integer types in chrome/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
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 "base/time/default_tick_clock.h" 9 #include "base/time/default_tick_clock.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 message_center::MessageCenter* TestingBrowserProcess::message_center() { 253 message_center::MessageCenter* TestingBrowserProcess::message_center() {
254 return message_center::MessageCenter::Get(); 254 return message_center::MessageCenter::Get();
255 } 255 }
256 256
257 IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() { 257 IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() {
258 return nullptr; 258 return nullptr;
259 } 259 }
260 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler( 260 void TestingBrowserProcess::CreateDevToolsHttpProtocolHandler(
261 chrome::HostDesktopType host_desktop_type, 261 chrome::HostDesktopType host_desktop_type,
262 const std::string& ip, 262 const std::string& ip,
263 uint16 port) { 263 uint16_t port) {}
264 }
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_;
273 } 272 }
274 273
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
456 455
457 /////////////////////////////////////////////////////////////////////////////// 456 ///////////////////////////////////////////////////////////////////////////////
458 457
459 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { 458 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {
460 TestingBrowserProcess::CreateInstance(); 459 TestingBrowserProcess::CreateInstance();
461 } 460 }
462 461
463 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { 462 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() {
464 TestingBrowserProcess::DeleteInstance(); 463 TestingBrowserProcess::DeleteInstance();
465 } 464 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | chrome/test/base/testing_browser_process_platform_part.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698