| 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 "base/base_paths.h" | 7 #include "base/base_paths.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/message_loop/message_loop_proxy.h" | 10 #include "base/message_loop/message_loop_proxy.h" |
| (...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 887 } | 887 } |
| 888 | 888 |
| 889 GURL TestingProfile::GetHomePage() { | 889 GURL TestingProfile::GetHomePage() { |
| 890 return GURL(chrome::kChromeUINewTabURL); | 890 return GURL(chrome::kChromeUINewTabURL); |
| 891 } | 891 } |
| 892 | 892 |
| 893 PrefService* TestingProfile::GetOffTheRecordPrefs() { | 893 PrefService* TestingProfile::GetOffTheRecordPrefs() { |
| 894 return NULL; | 894 return NULL; |
| 895 } | 895 } |
| 896 | 896 |
| 897 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { | 897 storage::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { |
| 898 #if defined(ENABLE_EXTENSIONS) | 898 #if defined(ENABLE_EXTENSIONS) |
| 899 return GetExtensionSpecialStoragePolicy(); | 899 return GetExtensionSpecialStoragePolicy(); |
| 900 #else | 900 #else |
| 901 return NULL; | 901 return NULL; |
| 902 #endif | 902 #endif |
| 903 } | 903 } |
| 904 | 904 |
| 905 content::SSLHostStateDelegate* TestingProfile::GetSSLHostStateDelegate() { | 905 content::SSLHostStateDelegate* TestingProfile::GetSSLHostStateDelegate() { |
| 906 return NULL; | 906 return NULL; |
| 907 } | 907 } |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 982 #if defined(ENABLE_EXTENSIONS) | 982 #if defined(ENABLE_EXTENSIONS) |
| 983 extension_policy_, | 983 extension_policy_, |
| 984 #endif | 984 #endif |
| 985 pref_service_.Pass(), | 985 pref_service_.Pass(), |
| 986 incognito_, | 986 incognito_, |
| 987 guest_session_, | 987 guest_session_, |
| 988 supervised_user_id_, | 988 supervised_user_id_, |
| 989 policy_service_.Pass(), | 989 policy_service_.Pass(), |
| 990 testing_factories_)); | 990 testing_factories_)); |
| 991 } | 991 } |
| OLD | NEW |