Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(983)

Side by Side Diff: chrome/test/base/testing_profile.cc

Issue 369703002: Remember user decisions on invalid certificates behind a flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes from felt plus new incognito browser tests Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698