OLD | NEW |
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/testing_profile.h" | 5 #include "chrome/test/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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 } | 425 } |
426 | 426 |
427 ExtensionMessageService* TestingProfile::GetExtensionMessageService() { | 427 ExtensionMessageService* TestingProfile::GetExtensionMessageService() { |
428 return NULL; | 428 return NULL; |
429 } | 429 } |
430 | 430 |
431 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() { | 431 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() { |
432 return NULL; | 432 return NULL; |
433 } | 433 } |
434 | 434 |
435 ExtensionIOEventRouter* TestingProfile::GetExtensionIOEventRouter() { | |
436 return NULL; | |
437 } | |
438 | |
439 ExtensionSpecialStoragePolicy* | 435 ExtensionSpecialStoragePolicy* |
440 TestingProfile::GetExtensionSpecialStoragePolicy() { | 436 TestingProfile::GetExtensionSpecialStoragePolicy() { |
441 if (!extension_special_storage_policy_) | 437 if (!extension_special_storage_policy_) |
442 extension_special_storage_policy_ = new ExtensionSpecialStoragePolicy(); | 438 extension_special_storage_policy_ = new ExtensionSpecialStoragePolicy(); |
443 return extension_special_storage_policy_; | 439 return extension_special_storage_policy_; |
444 } | 440 } |
445 | 441 |
446 SSLHostState* TestingProfile::GetSSLHostState() { | 442 SSLHostState* TestingProfile::GetSSLHostState() { |
447 return NULL; | 443 return NULL; |
448 } | 444 } |
(...skipping 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
806 } | 802 } |
807 | 803 |
808 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) | 804 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) |
809 : original_profile_(profile) {} | 805 : original_profile_(profile) {} |
810 | 806 |
811 DerivedTestingProfile::~DerivedTestingProfile() {} | 807 DerivedTestingProfile::~DerivedTestingProfile() {} |
812 | 808 |
813 ProfileId DerivedTestingProfile::GetRuntimeId() { | 809 ProfileId DerivedTestingProfile::GetRuntimeId() { |
814 return original_profile_->GetRuntimeId(); | 810 return original_profile_->GetRuntimeId(); |
815 } | 811 } |
OLD | NEW |