OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <set> | 9 #include <set> |
10 | 10 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 // Start time to delete from. | 222 // Start time to delete from. |
223 const base::Time delete_begin_; | 223 const base::Time delete_begin_; |
224 | 224 |
225 // End time to delete to. | 225 // End time to delete to. |
226 const base::Time delete_end_; | 226 const base::Time delete_end_; |
227 | 227 |
228 // True if Remove has been invoked. | 228 // True if Remove has been invoked. |
229 static bool removing_; | 229 static bool removing_; |
230 | 230 |
231 // Used to delete data from the HTTP caches. | 231 // Used to delete data from the HTTP caches. |
232 net::OldCompletionCallbackImpl<BrowsingDataRemover> old_cache_callback_; | |
233 net::CompletionCallback cache_callback_; | 232 net::CompletionCallback cache_callback_; |
234 CacheState next_cache_state_; | 233 CacheState next_cache_state_; |
235 disk_cache::Backend* cache_; | 234 disk_cache::Backend* cache_; |
236 | 235 |
237 // Used to delete data from HTTP cache. | 236 // Used to delete data from HTTP cache. |
238 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; | 237 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; |
239 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; | 238 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; |
240 | 239 |
241 // Used to delete plugin data. | 240 // Used to delete plugin data. |
242 scoped_ptr<content::PluginDataRemover> plugin_data_remover_; | 241 scoped_ptr<content::PluginDataRemover> plugin_data_remover_; |
(...skipping 15 matching lines...) Expand all Loading... |
258 | 257 |
259 ObserverList<Observer> observer_list_; | 258 ObserverList<Observer> observer_list_; |
260 | 259 |
261 // Used if we need to clear history. | 260 // Used if we need to clear history. |
262 CancelableRequestConsumer request_consumer_; | 261 CancelableRequestConsumer request_consumer_; |
263 | 262 |
264 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 263 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
265 }; | 264 }; |
266 | 265 |
267 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ | 266 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
OLD | NEW |