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

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

Issue 8758003: Remove dead code for gpu blacklist auto-update. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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/common/pref_names.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 DownloadRequestLimiter* download_request_limiter() OVERRIDE; 101 virtual DownloadRequestLimiter* download_request_limiter() OVERRIDE;
102 virtual bool plugin_finder_disabled() const OVERRIDE; 102 virtual bool plugin_finder_disabled() const OVERRIDE;
103 103
104 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS) 104 #if (defined(OS_WIN) || defined(OS_LINUX)) && !defined(OS_CHROMEOS)
105 virtual void StartAutoupdateTimer() OVERRIDE {} 105 virtual void StartAutoupdateTimer() OVERRIDE {}
106 #endif 106 #endif
107 107
108 virtual ChromeNetLog* net_log() OVERRIDE; 108 virtual ChromeNetLog* net_log() OVERRIDE;
109 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE; 109 virtual prerender::PrerenderTracker* prerender_tracker() OVERRIDE;
110 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE; 110 virtual MHTMLGenerationManager* mhtml_generation_manager() OVERRIDE;
111 virtual GpuBlacklistUpdater* gpu_blacklist_updater() OVERRIDE;
112 virtual ComponentUpdateService* component_updater() OVERRIDE; 111 virtual ComponentUpdateService* component_updater() OVERRIDE;
113 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE; 112 virtual CRLSetFetcher* crl_set_fetcher() OVERRIDE;
114 113
115 // Set the local state for tests. Consumer is responsible for cleaning it up 114 // Set the local state for tests. Consumer is responsible for cleaning it up
116 // afterwards (using ScopedTestingLocalState, for example). 115 // afterwards (using ScopedTestingLocalState, for example).
117 void SetLocalState(PrefService* local_state); 116 void SetLocalState(PrefService* local_state);
118 void SetGoogleURLTracker(GoogleURLTracker* google_url_tracker); 117 void SetGoogleURLTracker(GoogleURLTracker* google_url_tracker);
119 void SetProfileManager(ProfileManager* profile_manager); 118 void SetProfileManager(ProfileManager* profile_manager);
120 void SetIOThread(IOThread* io_thread); 119 void SetIOThread(IOThread* io_thread);
121 void SetBrowserPolicyConnector(policy::BrowserPolicyConnector* connector); 120 void SetBrowserPolicyConnector(policy::BrowserPolicyConnector* connector);
(...skipping 13 matching lines...) Expand all
135 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_; 134 scoped_ptr<printing::BackgroundPrintingManager> background_printing_manager_;
136 scoped_refptr<printing::PrintPreviewTabController> 135 scoped_refptr<printing::PrintPreviewTabController>
137 print_preview_tab_controller_; 136 print_preview_tab_controller_;
138 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_; 137 scoped_ptr<prerender::PrerenderTracker> prerender_tracker_;
139 IOThread* io_thread_; 138 IOThread* io_thread_;
140 139
141 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess); 140 DISALLOW_COPY_AND_ASSIGN(TestingBrowserProcess);
142 }; 141 };
143 142
144 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_ 143 #endif // CHROME_TEST_BASE_TESTING_BROWSER_PROCESS_H_
OLDNEW
« no previous file with comments | « chrome/common/pref_names.cc ('k') | chrome/test/base/testing_browser_process.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698