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