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

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

Issue 238863005: Domain Reliability: Remove browsing data when requested. (Closed) Base URL: http://git.chromium.org/chromium/src.git@domrel_bakedin
Patch Set: rebase Created 6 years, 8 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
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 "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 861 matching lines...) Expand 10 before | Expand all | Expand 10 after
872 } 872 }
873 873
874 void TestingProfile::ClearNetworkingHistorySince( 874 void TestingProfile::ClearNetworkingHistorySince(
875 base::Time time, 875 base::Time time,
876 const base::Closure& completion) { 876 const base::Closure& completion) {
877 if (!completion.is_null()) { 877 if (!completion.is_null()) {
878 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion); 878 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion);
879 } 879 }
880 } 880 }
881 881
882 void TestingProfile::ClearDomainReliabilityMonitor(
883 bool clear_contexts,
884 const base::Closure& completion) {
885 if (!completion.is_null()) {
886 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion);
887 }
888 }
889
882 GURL TestingProfile::GetHomePage() { 890 GURL TestingProfile::GetHomePage() {
883 return GURL(chrome::kChromeUINewTabURL); 891 return GURL(chrome::kChromeUINewTabURL);
884 } 892 }
885 893
886 PrefService* TestingProfile::GetOffTheRecordPrefs() { 894 PrefService* TestingProfile::GetOffTheRecordPrefs() {
887 return NULL; 895 return NULL;
888 } 896 }
889 897
890 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { 898 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() {
891 return GetExtensionSpecialStoragePolicy(); 899 return GetExtensionSpecialStoragePolicy();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
963 path_, 971 path_,
964 delegate_, 972 delegate_,
965 extension_policy_, 973 extension_policy_,
966 pref_service_.Pass(), 974 pref_service_.Pass(),
967 incognito_, 975 incognito_,
968 guest_session_, 976 guest_session_,
969 managed_user_id_, 977 managed_user_id_,
970 policy_service_.Pass(), 978 policy_service_.Pass(),
971 testing_factories_)); 979 testing_factories_));
972 } 980 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698