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::CompletionCallback cache_callback_; | 232 net::OldCompletionCallbackImpl<BrowsingDataRemover> cache_callback_; |
233 CacheState next_cache_state_; | 233 CacheState next_cache_state_; |
234 disk_cache::Backend* cache_; | 234 disk_cache::Backend* cache_; |
235 | 235 |
236 // Used to delete data from HTTP cache. | 236 // Used to delete data from HTTP cache. |
237 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; | 237 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; |
238 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; | 238 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; |
239 | 239 |
240 // Used to delete plugin data. | 240 // Used to delete plugin data. |
241 scoped_ptr<content::PluginDataRemover> plugin_data_remover_; | 241 scoped_ptr<content::PluginDataRemover> plugin_data_remover_; |
242 base::WaitableEventWatcher watcher_; | 242 base::WaitableEventWatcher watcher_; |
(...skipping 14 matching lines...) Expand all Loading... |
257 | 257 |
258 ObserverList<Observer> observer_list_; | 258 ObserverList<Observer> observer_list_; |
259 | 259 |
260 // Used if we need to clear history. | 260 // Used if we need to clear history. |
261 CancelableRequestConsumer request_consumer_; | 261 CancelableRequestConsumer request_consumer_; |
262 | 262 |
263 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 263 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
264 }; | 264 }; |
265 | 265 |
266 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ | 266 #endif // CHROME_BROWSER_BROWSING_DATA_REMOVER_H_ |
OLD | NEW |