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

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

Issue 49753002: RAPPOR implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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/background/background_mode_manager.h" 10 #include "chrome/browser/background/background_mode_manager.h"
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 void TestingBrowserProcess::ResourceDispatcherHostCreated() { 94 void TestingBrowserProcess::ResourceDispatcherHostCreated() {
95 } 95 }
96 96
97 void TestingBrowserProcess::EndSession() { 97 void TestingBrowserProcess::EndSession() {
98 } 98 }
99 99
100 MetricsService* TestingBrowserProcess::metrics_service() { 100 MetricsService* TestingBrowserProcess::metrics_service() {
101 return NULL; 101 return NULL;
102 } 102 }
103 103
104 rappor::RapporService* TestingBrowserProcess::rappor_service() {
105 return NULL;
106 }
107
104 IOThread* TestingBrowserProcess::io_thread() { 108 IOThread* TestingBrowserProcess::io_thread() {
105 return io_thread_; 109 return io_thread_;
106 } 110 }
107 111
108 WatchDogThread* TestingBrowserProcess::watchdog_thread() { 112 WatchDogThread* TestingBrowserProcess::watchdog_thread() {
109 return NULL; 113 return NULL;
110 } 114 }
111 115
112 ProfileManager* TestingBrowserProcess::profile_manager() { 116 ProfileManager* TestingBrowserProcess::profile_manager() {
113 #if defined(OS_IOS) 117 #if defined(OS_IOS)
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
459 463
460 /////////////////////////////////////////////////////////////////////////////// 464 ///////////////////////////////////////////////////////////////////////////////
461 465
462 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { 466 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {
463 TestingBrowserProcess::CreateInstance(); 467 TestingBrowserProcess::CreateInstance();
464 } 468 }
465 469
466 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { 470 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() {
467 TestingBrowserProcess::DeleteInstance(); 471 TestingBrowserProcess::DeleteInstance();
468 } 472 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698