OLD | NEW |
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 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/gtest_prod_util.h" | 10 #include "base/gtest_prod_util.h" |
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 // The DOMStorageContext is owned by the profile; we'll store a raw pointer. | 301 // The DOMStorageContext is owned by the profile; we'll store a raw pointer. |
302 content::DOMStorageContext* dom_storage_context_; | 302 content::DOMStorageContext* dom_storage_context_; |
303 | 303 |
304 // 'Protected' origins are not subject to data removal. | 304 // 'Protected' origins are not subject to data removal. |
305 scoped_refptr<ExtensionSpecialStoragePolicy> special_storage_policy_; | 305 scoped_refptr<ExtensionSpecialStoragePolicy> special_storage_policy_; |
306 | 306 |
307 // Start time to delete from. | 307 // Start time to delete from. |
308 const base::Time delete_begin_; | 308 const base::Time delete_begin_; |
309 | 309 |
310 // End time to delete to. | 310 // End time to delete to. |
311 const base::Time delete_end_; | 311 base::Time delete_end_; |
312 | 312 |
313 // True if Remove has been invoked. | 313 // True if Remove has been invoked. |
314 static bool removing_; | 314 static bool removing_; |
315 | 315 |
316 CacheState next_cache_state_; | 316 CacheState next_cache_state_; |
317 disk_cache::Backend* cache_; | 317 disk_cache::Backend* cache_; |
318 | 318 |
319 // Used to delete data from HTTP cache. | 319 // Used to delete data from HTTP cache. |
320 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; | 320 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; |
321 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; | 321 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
358 | 358 |
359 ObserverList<Observer> observer_list_; | 359 ObserverList<Observer> observer_list_; |
360 | 360 |
361 // Used if we need to clear history. | 361 // Used if we need to clear history. |
362 CancelableRequestConsumer request_consumer_; | 362 CancelableRequestConsumer request_consumer_; |
363 | 363 |
364 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 364 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
365 }; | 365 }; |
366 | 366 |
367 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 367 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
OLD | NEW |