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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
750 } | 750 } |
751 | 751 |
752 ExtensionInfoMap* TestingProfile::GetExtensionInfoMap() { | 752 ExtensionInfoMap* TestingProfile::GetExtensionInfoMap() { |
753 return NULL; | 753 return NULL; |
754 } | 754 } |
755 | 755 |
756 PromoCounter* TestingProfile::GetInstantPromoCounter() { | 756 PromoCounter* TestingProfile::GetInstantPromoCounter() { |
757 return NULL; | 757 return NULL; |
758 } | 758 } |
759 | 759 |
760 policy::ProfilePolicyContext* TestingProfile::GetPolicyContext() { | 760 policy::ProfilePolicyConnector* TestingProfile::GetPolicyConnector() { |
761 return NULL; | 761 return NULL; |
762 } | 762 } |
763 | 763 |
764 ChromeURLDataManager* TestingProfile::GetChromeURLDataManager() { | 764 ChromeURLDataManager* TestingProfile::GetChromeURLDataManager() { |
765 if (!chrome_url_data_manager_.get()) | 765 if (!chrome_url_data_manager_.get()) |
766 chrome_url_data_manager_.reset(new ChromeURLDataManager(this)); | 766 chrome_url_data_manager_.reset(new ChromeURLDataManager(this)); |
767 return chrome_url_data_manager_.get(); | 767 return chrome_url_data_manager_.get(); |
768 } | 768 } |
769 | 769 |
770 prerender::PrerenderManager* TestingProfile::GetPrerenderManager() { | 770 prerender::PrerenderManager* TestingProfile::GetPrerenderManager() { |
(...skipping 12 matching lines...) Expand all Loading... |
783 } | 783 } |
784 | 784 |
785 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) | 785 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) |
786 : original_profile_(profile) {} | 786 : original_profile_(profile) {} |
787 | 787 |
788 DerivedTestingProfile::~DerivedTestingProfile() {} | 788 DerivedTestingProfile::~DerivedTestingProfile() {} |
789 | 789 |
790 ProfileId DerivedTestingProfile::GetRuntimeId() { | 790 ProfileId DerivedTestingProfile::GetRuntimeId() { |
791 return original_profile_->GetRuntimeId(); | 791 return original_profile_->GetRuntimeId(); |
792 } | 792 } |
OLD | NEW |