| 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 <queue> | 10 #include <queue> |
| (...skipping 27 matching lines...) Expand all Loading... |
| 38 #include "chrome/browser/pepper_flash_settings_manager.h" | 38 #include "chrome/browser/pepper_flash_settings_manager.h" |
| 39 #endif | 39 #endif |
| 40 | 40 |
| 41 #if defined(OS_CHROMEOS) | 41 #if defined(OS_CHROMEOS) |
| 42 #include "chromeos/dbus/dbus_method_call_status.h" | 42 #include "chromeos/dbus/dbus_method_call_status.h" |
| 43 #endif | 43 #endif |
| 44 | 44 |
| 45 class BrowsingDataFilterBuilder; | 45 class BrowsingDataFilterBuilder; |
| 46 class BrowsingDataFlashLSOHelper; | 46 class BrowsingDataFlashLSOHelper; |
| 47 class BrowsingDataRemoverFactory; | 47 class BrowsingDataRemoverFactory; |
| 48 class HostContentSettingsMap; | |
| 49 class IOThread; | |
| 50 class Profile; | 48 class Profile; |
| 51 class WebappRegistry; | 49 class WebappRegistry; |
| 52 | 50 |
| 53 namespace chrome_browser_net { | 51 namespace chrome_browser_net { |
| 54 class Predictor; | 52 class Predictor; |
| 55 } | 53 } |
| 56 | 54 |
| 57 namespace content { | 55 namespace content { |
| 58 class BrowserContext; | 56 class BrowserContext; |
| 59 class PluginDataRemover; | 57 class PluginDataRemover; |
| 60 class StoragePartition; | 58 class StoragePartition; |
| 61 } | 59 } |
| 62 | 60 |
| 63 namespace net { | |
| 64 class URLRequestContextGetter; | |
| 65 } | |
| 66 | |
| 67 //////////////////////////////////////////////////////////////////////////////// | 61 //////////////////////////////////////////////////////////////////////////////// |
| 68 // BrowsingDataRemover is responsible for removing data related to browsing: | 62 // BrowsingDataRemover is responsible for removing data related to browsing: |
| 69 // visits in url database, downloads, cookies ... | 63 // visits in url database, downloads, cookies ... |
| 70 // | 64 // |
| 71 // USAGE: | 65 // USAGE: |
| 72 // | 66 // |
| 73 // 0. Instantiation. | 67 // 0. Instantiation. |
| 74 // | 68 // |
| 75 // BrowsingDataRemover remover = | 69 // BrowsingDataRemover remover = |
| 76 // BrowsingDataRemoverFactory::GetForBrowserContext(profile); | 70 // BrowsingDataRemoverFactory::GetForBrowserContext(profile); |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 // not initialised, so the registry must be mocked out. | 566 // not initialised, so the registry must be mocked out. |
| 573 std::unique_ptr<WebappRegistry> webapp_registry_; | 567 std::unique_ptr<WebappRegistry> webapp_registry_; |
| 574 #endif | 568 #endif |
| 575 | 569 |
| 576 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; | 570 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; |
| 577 | 571 |
| 578 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 572 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
| 579 }; | 573 }; |
| 580 | 574 |
| 581 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 575 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| OLD | NEW |