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

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

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
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 #include "chrome/test/base/testing_browser_process.h" 5 #include "chrome/test/base/testing_browser_process.h"
6 6
7 #include "base/string_util.h" 7 #include "base/string_util.h"
8 #include "chrome/browser/google/google_url_tracker.h" 8 #include "chrome/browser/google/google_url_tracker.h"
9 #include "chrome/browser/notifications/notification_ui_manager.h" 9 #include "chrome/browser/notifications/notification_ui_manager.h"
10 #include "chrome/browser/policy/browser_policy_connector.h" 10 #include "chrome/browser/policy/browser_policy_connector.h"
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 prerender::PrerenderTracker* TestingBrowserProcess::prerender_tracker() { 229 prerender::PrerenderTracker* TestingBrowserProcess::prerender_tracker() {
230 if (!prerender_tracker_.get()) 230 if (!prerender_tracker_.get())
231 prerender_tracker_.reset(new prerender::PrerenderTracker()); 231 prerender_tracker_.reset(new prerender::PrerenderTracker());
232 return prerender_tracker_.get(); 232 return prerender_tracker_.get();
233 } 233 }
234 234
235 MHTMLGenerationManager* TestingBrowserProcess::mhtml_generation_manager() { 235 MHTMLGenerationManager* TestingBrowserProcess::mhtml_generation_manager() {
236 return NULL; 236 return NULL;
237 } 237 }
238 238
239 GpuBlacklistUpdater* TestingBrowserProcess::gpu_blacklist_updater() {
240 return NULL;
241 }
242
243 ComponentUpdateService* TestingBrowserProcess::component_updater() { 239 ComponentUpdateService* TestingBrowserProcess::component_updater() {
244 return NULL; 240 return NULL;
245 } 241 }
246 242
247 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() { 243 CRLSetFetcher* TestingBrowserProcess::crl_set_fetcher() {
248 return NULL; 244 return NULL;
249 } 245 }
250 246
251 void TestingBrowserProcess::SetLocalState(PrefService* local_state) { 247 void TestingBrowserProcess::SetLocalState(PrefService* local_state) {
252 if (!local_state && notification_ui_manager_.get()) 248 if (!local_state && notification_ui_manager_.get())
253 notification_ui_manager_.reset(); // Used local_state_. 249 notification_ui_manager_.reset(); // Used local_state_.
254 local_state_ = local_state; 250 local_state_ = local_state;
255 } 251 }
256 252
257 void TestingBrowserProcess::SetGoogleURLTracker( 253 void TestingBrowserProcess::SetGoogleURLTracker(
258 GoogleURLTracker* google_url_tracker) { 254 GoogleURLTracker* google_url_tracker) {
259 google_url_tracker_.reset(google_url_tracker); 255 google_url_tracker_.reset(google_url_tracker);
260 } 256 }
261 257
262 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { 258 void TestingBrowserProcess::SetIOThread(IOThread* io_thread) {
263 io_thread_ = io_thread; 259 io_thread_ = io_thread;
264 } 260 }
265 261
266 void TestingBrowserProcess::SetBrowserPolicyConnector( 262 void TestingBrowserProcess::SetBrowserPolicyConnector(
267 policy::BrowserPolicyConnector* connector) { 263 policy::BrowserPolicyConnector* connector) {
268 browser_policy_connector_.reset(connector); 264 browser_policy_connector_.reset(connector);
269 } 265 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698