| 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_profile.h" | 5 #include "chrome/test/base/testing_profile.h" |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 | 8 |
| 9 #include "base/base_paths.h" | 9 #include "base/base_paths.h" |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| (...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 } | 445 } |
| 446 | 446 |
| 447 VisitedLinkMaster* TestingProfile::GetVisitedLinkMaster() { | 447 VisitedLinkMaster* TestingProfile::GetVisitedLinkMaster() { |
| 448 return NULL; | 448 return NULL; |
| 449 } | 449 } |
| 450 | 450 |
| 451 ExtensionService* TestingProfile::GetExtensionService() { | 451 ExtensionService* TestingProfile::GetExtensionService() { |
| 452 return extensions::ExtensionSystem::Get(this)->extension_service(); | 452 return extensions::ExtensionSystem::Get(this)->extension_service(); |
| 453 } | 453 } |
| 454 | 454 |
| 455 UserScriptMaster* TestingProfile::GetUserScriptMaster() { | 455 extensions::UserScriptMaster* TestingProfile::GetUserScriptMaster() { |
| 456 return extensions::ExtensionSystem::Get(this)->user_script_master(); | 456 return extensions::ExtensionSystem::Get(this)->user_script_master(); |
| 457 } | 457 } |
| 458 | 458 |
| 459 ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() { | 459 ExtensionProcessManager* TestingProfile::GetExtensionProcessManager() { |
| 460 return extensions::ExtensionSystem::Get(this)->process_manager(); | 460 return extensions::ExtensionSystem::Get(this)->process_manager(); |
| 461 } | 461 } |
| 462 | 462 |
| 463 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() { | 463 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() { |
| 464 return extensions::ExtensionSystem::Get(this)->event_router(); | 464 return extensions::ExtensionSystem::Get(this)->event_router(); |
| 465 } | 465 } |
| (...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 726 } | 726 } |
| 727 | 727 |
| 728 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) { | 728 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 729 return true; | 729 return true; |
| 730 } | 730 } |
| 731 | 731 |
| 732 base::Callback<ChromeURLDataManagerBackend*(void)> | 732 base::Callback<ChromeURLDataManagerBackend*(void)> |
| 733 TestingProfile::GetChromeURLDataManagerBackendGetter() const { | 733 TestingProfile::GetChromeURLDataManagerBackendGetter() const { |
| 734 return base::Callback<ChromeURLDataManagerBackend*(void)>(); | 734 return base::Callback<ChromeURLDataManagerBackend*(void)>(); |
| 735 } | 735 } |
| OLD | NEW |