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

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

Issue 138553004: Move component updater artifacts into component_updater namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/webui/components_ui.cc ('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_
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 virtual void SetApplicationLocale(const std::string& app_locale) OVERRIDE; 101 virtual void SetApplicationLocale(const std::string& app_locale) OVERRIDE;
102 virtual DownloadStatusUpdater* download_status_updater() OVERRIDE; 102 virtual DownloadStatusUpdater* download_status_updater() OVERRIDE;
103 virtual DownloadRequestLimiter* download_request_limiter() OVERRIDE; 103 virtual DownloadRequestLimiter* download_request_limiter() OVERRIDE;
104 104
105 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 105 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
106 virtual void StartAutoupdateTimer() OVERRIDE {} 106 virtual void StartAutoupdateTimer() OVERRIDE {}
107 #endif 107 #endif
108 108
109 virtual ChromeNetLog* net_log() OVERRIDE; 109 virtual ChromeNetLog* net_log() OVERRIDE;
110 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; 110 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE;
111 virtual ComponentUpdateService* component_updater() OVERRIDE; 111 virtual component_updater::ComponentUpdateService*
112 component_updater() OVERRIDE;
112 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; 113 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
113 virtual PnaclComponentInstaller* pnacl_component_installer() OVERRIDE; 114 virtual component_updater::PnaclComponentInstaller*
115 pnacl_component_installer() OVERRIDE;
114 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE; 116 virtual BookmarkPromptController* bookmark_prompt_controller() OVERRIDE;
115 virtual StorageMonitor* storage_monitor() OVERRIDE; 117 virtual StorageMonitor* storage_monitor() OVERRIDE;
116 virtual MediaFileSystemRegistry* media_file_system_registry() OVERRIDE; 118 virtual MediaFileSystemRegistry* media_file_system_registry() OVERRIDE;
117 virtual bool created_local_state() const OVERRIDE; 119 virtual bool created_local_state() const OVERRIDE;
118 120
119 #if defined(ENABLE_WEBRTC) 121 #if defined(ENABLE_WEBRTC)
120 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE; 122 virtual WebRtcLogUploader* webrtc_log_uploader() OVERRIDE;
121 #endif 123 #endif
122 124
123 // Set the local state for tests. Consumer is responsible for cleaning it up 125 // Set the local state for tests. Consumer is responsible for cleaning it up
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 class TestingBrowserProcessInitializer { 199 class TestingBrowserProcessInitializer {
198 public: 200 public:
199 TestingBrowserProcessInitializer(); 201 TestingBrowserProcessInitializer();
200 ~TestingBrowserProcessInitializer(); 202 ~TestingBrowserProcessInitializer();
201 203
202 private: 204 private:
203 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer); 205 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcessInitializer);
204 }; 206 };
205 207
206 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 208 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/components_ui.cc ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698