| 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/strings/string_util.h" | 7 #include "base/strings/string_util.h" |
| 8 #include "base/time/default_clock.h" | 8 #include "base/time/default_clock.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 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 379 #else | 379 #else |
| 380 return nullptr; | 380 return nullptr; |
| 381 #endif | 381 #endif |
| 382 } | 382 } |
| 383 | 383 |
| 384 shell_integration::DefaultWebClientState | 384 shell_integration::DefaultWebClientState |
| 385 TestingBrowserProcess::CachedDefaultWebClientState() { | 385 TestingBrowserProcess::CachedDefaultWebClientState() { |
| 386 return shell_integration::UNKNOWN_DEFAULT; | 386 return shell_integration::UNKNOWN_DEFAULT; |
| 387 } | 387 } |
| 388 | 388 |
| 389 PhysicalWebDataSource* | 389 physical_web::PhysicalWebDataSource* |
| 390 TestingBrowserProcess::GetPhysicalWebDataSource() { | 390 TestingBrowserProcess::GetPhysicalWebDataSource() { |
| 391 return nullptr; | 391 return nullptr; |
| 392 } | 392 } |
| 393 | 393 |
| 394 void TestingBrowserProcess::SetSystemRequestContext( | 394 void TestingBrowserProcess::SetSystemRequestContext( |
| 395 net::URLRequestContextGetter* context_getter) { | 395 net::URLRequestContextGetter* context_getter) { |
| 396 system_request_context_ = context_getter; | 396 system_request_context_ = context_getter; |
| 397 } | 397 } |
| 398 | 398 |
| 399 void TestingBrowserProcess::SetNotificationUIManager( | 399 void TestingBrowserProcess::SetNotificationUIManager( |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 | 456 |
| 457 /////////////////////////////////////////////////////////////////////////////// | 457 /////////////////////////////////////////////////////////////////////////////// |
| 458 | 458 |
| 459 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { | 459 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { |
| 460 TestingBrowserProcess::CreateInstance(); | 460 TestingBrowserProcess::CreateInstance(); |
| 461 } | 461 } |
| 462 | 462 |
| 463 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { | 463 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { |
| 464 TestingBrowserProcess::DeleteInstance(); | 464 TestingBrowserProcess::DeleteInstance(); |
| 465 } | 465 } |
| OLD | NEW |