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

Side by Side Diff: ios/net/http_cache_helper.h

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 unified diff | Download patch
« no previous file with comments | « ios/crnet/crnet_environment.mm ('k') | ios/net/http_cache_helper.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef IOS_NET_HTTP_CACHE_HELPER_H_ 5 #ifndef IOS_NET_HTTP_CACHE_HELPER_H_
6 #define IOS_NET_HTTP_CACHE_HELPER_H_ 6 #define IOS_NET_HTTP_CACHE_HELPER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "net/base/completion_callback.h" 10 #include "net/base/completion_callback.h"
11 11
12 namespace base { 12 namespace base {
13 class TaskRunner; 13 class TaskRunner;
14 } 14 }
15 15
16 namespace net { 16 namespace net {
17 class URLRequestContextGetter; 17 class URLRequestContextGetter;
18 18
19 // Clears the HTTP cache and calls |closure| back. 19 // Clears the HTTP cache and calls |closure| back.
20 void ClearHttpCache(const scoped_refptr<net::URLRequestContextGetter>& getter, 20 void ClearHttpCache(const scoped_refptr<net::URLRequestContextGetter>& getter,
21 const scoped_refptr<base::TaskRunner>& network_task_runner, 21 const scoped_refptr<base::TaskRunner>& network_task_runner,
22 const base::Time& delete_begin,
23 const base::Time& delete_end,
22 const net::CompletionCallback& callback); 24 const net::CompletionCallback& callback);
23 25
24 } // namespace net 26 } // namespace net
25 27
26 #endif // IOS_NET_HTTP_CACHE_HELPER_H_ 28 #endif // IOS_NET_HTTP_CACHE_HELPER_H_
OLDNEW
« no previous file with comments | « ios/crnet/crnet_environment.mm ('k') | ios/net/http_cache_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698