| 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 865 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 876 } | 876 } |
| 877 | 877 |
| 878 PrefService* TestingProfile::GetOffTheRecordPrefs() { | 878 PrefService* TestingProfile::GetOffTheRecordPrefs() { |
| 879 return NULL; | 879 return NULL; |
| 880 } | 880 } |
| 881 | 881 |
| 882 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { | 882 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { |
| 883 return GetExtensionSpecialStoragePolicy(); | 883 return GetExtensionSpecialStoragePolicy(); |
| 884 } | 884 } |
| 885 | 885 |
| 886 content::SSLHostStateDecisions* TestingProfile::GetSSLHostStateDecisions() { |
| 887 return NULL; |
| 888 } |
| 889 |
| 886 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) { | 890 bool TestingProfile::WasCreatedByVersionOrLater(const std::string& version) { |
| 887 return true; | 891 return true; |
| 888 } | 892 } |
| 889 | 893 |
| 890 bool TestingProfile::IsGuestSession() const { | 894 bool TestingProfile::IsGuestSession() const { |
| 891 return guest_session_; | 895 return guest_session_; |
| 892 } | 896 } |
| 893 | 897 |
| 894 Profile::ExitType TestingProfile::GetLastSessionExitType() { | 898 Profile::ExitType TestingProfile::GetLastSessionExitType() { |
| 895 return last_session_exited_cleanly_ ? EXIT_NORMAL : EXIT_CRASHED; | 899 return last_session_exited_cleanly_ ? EXIT_NORMAL : EXIT_CRASHED; |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 955 path_, | 959 path_, |
| 956 delegate_, | 960 delegate_, |
| 957 extension_policy_, | 961 extension_policy_, |
| 958 pref_service_.Pass(), | 962 pref_service_.Pass(), |
| 959 incognito_, | 963 incognito_, |
| 960 guest_session_, | 964 guest_session_, |
| 961 supervised_user_id_, | 965 supervised_user_id_, |
| 962 policy_service_.Pass(), | 966 policy_service_.Pass(), |
| 963 testing_factories_)); | 967 testing_factories_)); |
| 964 } | 968 } |
| OLD | NEW |