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

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: ...and fix BrowsingDataRemoverTet Created 6 years, 7 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
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | components/domain_reliability.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 876 matching lines...) Expand 10 before | Expand all | Expand 10 after
887 } 887 }
888 888
889 void TestingProfile::ClearNetworkingHistorySince( 889 void TestingProfile::ClearNetworkingHistorySince(
890 base::Time time, 890 base::Time time,
891 const base::Closure& completion) { 891 const base::Closure& completion) {
892 if (!completion.is_null()) { 892 if (!completion.is_null()) {
893 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion); 893 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion);
894 } 894 }
895 } 895 }
896 896
897 void TestingProfile::ClearDomainReliabilityMonitor(
898 domain_reliability::DomainReliabilityClearMode mode,
899 const base::Closure& completion) {
900 if (!completion.is_null()) {
901 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, completion);
902 }
903 }
904
897 GURL TestingProfile::GetHomePage() { 905 GURL TestingProfile::GetHomePage() {
898 return GURL(chrome::kChromeUINewTabURL); 906 return GURL(chrome::kChromeUINewTabURL);
899 } 907 }
900 908
901 PrefService* TestingProfile::GetOffTheRecordPrefs() { 909 PrefService* TestingProfile::GetOffTheRecordPrefs() {
902 return NULL; 910 return NULL;
903 } 911 }
904 912
905 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() { 913 quota::SpecialStoragePolicy* TestingProfile::GetSpecialStoragePolicy() {
906 return GetExtensionSpecialStoragePolicy(); 914 return GetExtensionSpecialStoragePolicy();
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
978 path_, 986 path_,
979 delegate_, 987 delegate_,
980 extension_policy_, 988 extension_policy_,
981 pref_service_.Pass(), 989 pref_service_.Pass(),
982 incognito_, 990 incognito_,
983 guest_session_, 991 guest_session_,
984 managed_user_id_, 992 managed_user_id_,
985 policy_service_.Pass(), 993 policy_service_.Pass(),
986 testing_factories_)); 994 testing_factories_));
987 } 995 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.h ('k') | components/domain_reliability.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698