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

Unified Diff: ios/crnet/crnet_environment.mm

Issue 2270063005: Add support for time based deletion of browsing data on iOS (Closed)
Patch Set: Updated comment in AccountConsistencyService Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/chrome/browser/ui/commands/clear_browsing_data_command.mm ('k') | ios/net/http_cache_helper.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/crnet/crnet_environment.mm
diff --git a/ios/crnet/crnet_environment.mm b/ios/crnet/crnet_environment.mm
index 8bd9de09b61655d25953334c1458700f5459107d..9eb3a255a34999277d609326c7016e097963f82d 100644
--- a/ios/crnet/crnet_environment.mm
+++ b/ios/crnet/crnet_environment.mm
@@ -500,7 +500,7 @@ std::string CrNetEnvironment::user_agent() {
void CrNetEnvironment::ClearCache(ClearCacheCallback callback) {
PostToNetworkThread(
- FROM_HERE,
- base::Bind(&net::ClearHttpCache, main_context_getter_,
- network_io_thread_->task_runner(), base::BindBlock(callback)));
+ FROM_HERE, base::Bind(&net::ClearHttpCache, main_context_getter_,
+ network_io_thread_->task_runner(), base::Time(),
+ base::Time::Max(), base::BindBlock(callback)));
}
« no previous file with comments | « ios/chrome/browser/ui/commands/clear_browsing_data_command.mm ('k') | ios/net/http_cache_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698