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