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

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

Issue 2517953003: Move enable_webrtc to a buildflag header. (Closed)
Patch Set: Fix Created 4 years, 1 month 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/BUILD.gn ('k') | chrome/test/base/testing_browser_process.cc » ('j') | 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 // An implementation of BrowserProcess for unit tests that fails for most 5 // An implementation of BrowserProcess for unit tests that fails for most
6 // services. By preventing creation of services, we reduce dependencies and 6 // services. By preventing creation of services, we reduce dependencies and
7 // keep the profile clean. Clients of this class must handle the NULL return 7 // keep the profile clean. Clients of this class must handle the NULL return
8 // value, however. 8 // value, however.
9 9
10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 10 #ifndef CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
11 #define CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 11 #define CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
12 12
13 #include <stdint.h> 13 #include <stdint.h>
14 14
15 #include <memory> 15 #include <memory>
16 #include <string> 16 #include <string>
17 17
18 #include "base/macros.h" 18 #include "base/macros.h"
19 #include "base/memory/ref_counted.h" 19 #include "base/memory/ref_counted.h"
20 #include "build/build_config.h" 20 #include "build/build_config.h"
21 #include "chrome/browser/browser_process.h" 21 #include "chrome/browser/browser_process.h"
22 #include "chrome/browser/browser_process_platform_part.h" 22 #include "chrome/browser/browser_process_platform_part.h"
23 #include "extensions/features/features.h" 23 #include "extensions/features/features.h"
24 #include "media/media_features.h"
24 #include "printing/features/features.h" 25 #include "printing/features/features.h"
25 26
26 class BackgroundModeManager; 27 class BackgroundModeManager;
27 class CRLSetFetcher; 28 class CRLSetFetcher;
28 class IOThread; 29 class IOThread;
29 class MHTMLGenerationManager; 30 class MHTMLGenerationManager;
30 class NotificationPlatformBridge; 31 class NotificationPlatformBridge;
31 class NotificationUIManager; 32 class NotificationUIManager;
32 class PrefService; 33 class PrefService;
33 class WatchDogThread; 34 class WatchDogThread;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 net_log::ChromeNetLog* net_log() override; 115 net_log::ChromeNetLog* net_log() override;
115 component_updater::ComponentUpdateService* component_updater() override; 116 component_updater::ComponentUpdateService* component_updater() override;
116 CRLSetFetcher* crl_set_fetcher() override; 117 CRLSetFetcher* crl_set_fetcher() override;
117 component_updater::PnaclComponentInstaller* pnacl_component_installer() 118 component_updater::PnaclComponentInstaller* pnacl_component_installer()
118 override; 119 override;
119 component_updater::SupervisedUserWhitelistInstaller* 120 component_updater::SupervisedUserWhitelistInstaller*
120 supervised_user_whitelist_installer() override; 121 supervised_user_whitelist_installer() override;
121 MediaFileSystemRegistry* media_file_system_registry() override; 122 MediaFileSystemRegistry* media_file_system_registry() override;
122 bool created_local_state() const override; 123 bool created_local_state() const override;
123 124
124 #if defined(ENABLE_WEBRTC) 125 #if BUILDFLAG(ENABLE_WEBRTC)
125 WebRtcLogUploader* webrtc_log_uploader() override; 126 WebRtcLogUploader* webrtc_log_uploader() override;
126 #endif 127 #endif
127 128
128 network_time::NetworkTimeTracker* network_time_tracker() override; 129 network_time::NetworkTimeTracker* network_time_tracker() override;
129 130
130 gcm::GCMDriver* gcm_driver() override; 131 gcm::GCMDriver* gcm_driver() override;
131 memory::TabManager* GetTabManager() override; 132 memory::TabManager* GetTabManager() override;
132 shell_integration::DefaultWebClientState CachedDefaultWebClientState() 133 shell_integration::DefaultWebClientState CachedDefaultWebClientState()
133 override; 134 override;
134 PhysicalWebDataSource* GetPhysicalWebDataSource() override; 135 PhysicalWebDataSource* GetPhysicalWebDataSource() override;
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 class TestingBrowserProcessInitializer { 224 class TestingBrowserProcessInitializer {
224 public: 225 public:
225 TestingBrowserProcessInitializer(); 226 TestingBrowserProcessInitializer();
226 ~TestingBrowserProcessInitializer(); 227 ~TestingBrowserProcessInitializer();
227 228
228 private: 229 private:
229 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); 230 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer);
230 }; 231 };
231 232
232 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 233 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/test/BUILD.gn ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698