| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 base::Time delete_end_; | 415 base::Time delete_end_; |
| 416 | 416 |
| 417 // True if Remove has been invoked. | 417 // True if Remove has been invoked. |
| 418 bool is_removing_; | 418 bool is_removing_; |
| 419 | 419 |
| 420 // If non-NULL, the |completion_inhibitor_| is notified each time an instance | 420 // If non-NULL, the |completion_inhibitor_| is notified each time an instance |
| 421 // is about to complete a browsing data removal process, and has the ability | 421 // is about to complete a browsing data removal process, and has the ability |
| 422 // to artificially delay completion. Used for testing. | 422 // to artificially delay completion. Used for testing. |
| 423 static CompletionInhibitor* completion_inhibitor_; | 423 static CompletionInhibitor* completion_inhibitor_; |
| 424 | 424 |
| 425 // Used to delete data from HTTP cache. |
| 426 scoped_refptr<net::URLRequestContextGetter> main_context_getter_; |
| 427 scoped_refptr<net::URLRequestContextGetter> media_context_getter_; |
| 428 |
| 425 #if defined(ENABLE_PLUGINS) | 429 #if defined(ENABLE_PLUGINS) |
| 426 // Used to delete plugin data. | 430 // Used to delete plugin data. |
| 427 scoped_ptr<content::PluginDataRemover> plugin_data_remover_; | 431 scoped_ptr<content::PluginDataRemover> plugin_data_remover_; |
| 428 base::WaitableEventWatcher watcher_; | 432 base::WaitableEventWatcher watcher_; |
| 429 | 433 |
| 430 // Used to deauthorize content licenses for Pepper Flash. | 434 // Used to deauthorize content licenses for Pepper Flash. |
| 431 scoped_ptr<PepperFlashSettingsManager> pepper_flash_settings_manager_; | 435 scoped_ptr<PepperFlashSettingsManager> pepper_flash_settings_manager_; |
| 432 #endif | 436 #endif |
| 433 | 437 |
| 434 uint32_t deauthorize_content_licenses_request_id_ = 0; | 438 uint32_t deauthorize_content_licenses_request_id_ = 0; |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 // not initialised, so the registry must be mocked out. | 490 // not initialised, so the registry must be mocked out. |
| 487 scoped_ptr<WebappRegistry> webapp_registry_; | 491 scoped_ptr<WebappRegistry> webapp_registry_; |
| 488 #endif | 492 #endif |
| 489 | 493 |
| 490 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; | 494 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; |
| 491 | 495 |
| 492 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 496 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
| 493 }; | 497 }; |
| 494 | 498 |
| 495 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 499 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| OLD | NEW |