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