OLD | NEW |
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 #include "chrome/test/base/testing_browser_process.h" | 5 #include "chrome/test/base/testing_browser_process.h" |
6 | 6 |
7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
8 #include "base/strings/string_util.h" | 8 #include "base/strings/string_util.h" |
9 #include "base/time/default_tick_clock.h" | 9 #include "base/time/default_tick_clock.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
382 } | 382 } |
383 | 383 |
384 gcm::GCMDriver* TestingBrowserProcess::gcm_driver() { | 384 gcm::GCMDriver* TestingBrowserProcess::gcm_driver() { |
385 return nullptr; | 385 return nullptr; |
386 } | 386 } |
387 | 387 |
388 memory::OomPriorityManager* TestingBrowserProcess::GetOomPriorityManager() { | 388 memory::OomPriorityManager* TestingBrowserProcess::GetOomPriorityManager() { |
389 return nullptr; | 389 return nullptr; |
390 } | 390 } |
391 | 391 |
| 392 ShellIntegration::DefaultWebClientState |
| 393 TestingBrowserProcess::CachedDefaultWebClientState() { |
| 394 return ShellIntegration::UNKNOWN_DEFAULT; |
| 395 } |
392 void TestingBrowserProcess::SetSystemRequestContext( | 396 void TestingBrowserProcess::SetSystemRequestContext( |
393 net::URLRequestContextGetter* context_getter) { | 397 net::URLRequestContextGetter* context_getter) { |
394 system_request_context_ = context_getter; | 398 system_request_context_ = context_getter; |
395 } | 399 } |
396 | 400 |
397 void TestingBrowserProcess::SetNotificationUIManager( | 401 void TestingBrowserProcess::SetNotificationUIManager( |
398 scoped_ptr<NotificationUIManager> notification_ui_manager) { | 402 scoped_ptr<NotificationUIManager> notification_ui_manager) { |
399 notification_ui_manager_.swap(notification_ui_manager); | 403 notification_ui_manager_.swap(notification_ui_manager); |
400 } | 404 } |
401 | 405 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
448 | 452 |
449 /////////////////////////////////////////////////////////////////////////////// | 453 /////////////////////////////////////////////////////////////////////////////// |
450 | 454 |
451 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { | 455 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { |
452 TestingBrowserProcess::CreateInstance(); | 456 TestingBrowserProcess::CreateInstance(); |
453 } | 457 } |
454 | 458 |
455 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { | 459 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { |
456 TestingBrowserProcess::DeleteInstance(); | 460 TestingBrowserProcess::DeleteInstance(); |
457 } | 461 } |
OLD | NEW |