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

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

Issue 2898063002: Hold cros_component_installers in browser_process. (Closed)
Patch Set: update commit message. Created 3 years, 7 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 // 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_
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 111 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
112 void StartAutoupdateTimer() override {} 112 void StartAutoupdateTimer() override {}
113 #endif 113 #endif
114 114
115 net_log::ChromeNetLog* net_log() override; 115 net_log::ChromeNetLog* net_log() override;
116 component_updater::ComponentUpdateService* component_updater() override; 116 component_updater::ComponentUpdateService* component_updater() override;
117 CRLSetFetcher* crl_set_fetcher() override; 117 CRLSetFetcher* crl_set_fetcher() override;
118 component_updater::PnaclComponentInstaller* pnacl_component_installer() 118 component_updater::PnaclComponentInstaller* pnacl_component_installer()
119 override; 119 override;
120 #if defined(OS_CHROMEOS)
121 component_updater::DefaultComponentInstaller* cros_component_installer(
122 const std::string& name,
123 std::unique_ptr<component_updater::ComponentInstallerTraits>
124 installer_traits) override;
125 #endif
126
120 component_updater::SupervisedUserWhitelistInstaller* 127 component_updater::SupervisedUserWhitelistInstaller*
121 supervised_user_whitelist_installer() override; 128 supervised_user_whitelist_installer() override;
122 MediaFileSystemRegistry* media_file_system_registry() override; 129 MediaFileSystemRegistry* media_file_system_registry() override;
123 bool created_local_state() const override; 130 bool created_local_state() const override;
124 131
125 #if BUILDFLAG(ENABLE_WEBRTC) 132 #if BUILDFLAG(ENABLE_WEBRTC)
126 WebRtcLogUploader* webrtc_log_uploader() override; 133 WebRtcLogUploader* webrtc_log_uploader() override;
127 #endif 134 #endif
128 135
129 network_time::NetworkTimeTracker* network_time_tracker() override; 136 network_time::NetworkTimeTracker* network_time_tracker() override;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 class TestingBrowserProcessInitializer { 234 class TestingBrowserProcessInitializer {
228 public: 235 public:
229 TestingBrowserProcessInitializer(); 236 TestingBrowserProcessInitializer();
230 ~TestingBrowserProcessInitializer(); 237 ~TestingBrowserProcessInitializer();
231 238
232 private: 239 private:
233 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); 240 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer);
234 }; 241 };
235 242
236 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 243 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698