| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 5 #ifndef CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
| 6 #define CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 6 #define CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 ChromeBrowsingDataRemoverDelegate(content::BrowserContext* browser_context); | 75 ChromeBrowsingDataRemoverDelegate(content::BrowserContext* browser_context); |
| 76 ~ChromeBrowsingDataRemoverDelegate() override; | 76 ~ChromeBrowsingDataRemoverDelegate() override; |
| 77 | 77 |
| 78 // Removes Chrome-specific data. | 78 // Removes Chrome-specific data. |
| 79 void RemoveEmbedderData( | 79 void RemoveEmbedderData( |
| 80 const base::Time& delete_begin, | 80 const base::Time& delete_begin, |
| 81 const base::Time& delete_end, | 81 const base::Time& delete_end, |
| 82 int remove_mask, | 82 int remove_mask, |
| 83 const BrowsingDataFilterBuilder& filter_builder, | 83 const content::BrowsingDataFilterBuilder& filter_builder, |
| 84 int origin_type_mask, | 84 int origin_type_mask, |
| 85 const base::Closure& callback) override; | 85 const base::Closure& callback) override; |
| 86 | 86 |
| 87 #if defined(OS_ANDROID) | 87 #if defined(OS_ANDROID) |
| 88 void OverrideWebappRegistryForTesting( | 88 void OverrideWebappRegistryForTesting( |
| 89 std::unique_ptr<WebappRegistry> webapp_registry); | 89 std::unique_ptr<WebappRegistry> webapp_registry); |
| 90 #endif | 90 #endif |
| 91 | 91 |
| 92 #if BUILDFLAG(ENABLE_PLUGINS) | 92 #if BUILDFLAG(ENABLE_PLUGINS) |
| 93 // Used for testing. | 93 // Used for testing. |
| (...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 // not initialised, so the registry must be mocked out. | 203 // not initialised, so the registry must be mocked out. |
| 204 std::unique_ptr<WebappRegistry> webapp_registry_; | 204 std::unique_ptr<WebappRegistry> webapp_registry_; |
| 205 #endif | 205 #endif |
| 206 | 206 |
| 207 base::WeakPtrFactory<ChromeBrowsingDataRemoverDelegate> weak_ptr_factory_; | 207 base::WeakPtrFactory<ChromeBrowsingDataRemoverDelegate> weak_ptr_factory_; |
| 208 | 208 |
| 209 DISALLOW_COPY_AND_ASSIGN(ChromeBrowsingDataRemoverDelegate); | 209 DISALLOW_COPY_AND_ASSIGN(ChromeBrowsingDataRemoverDelegate); |
| 210 }; | 210 }; |
| 211 | 211 |
| 212 #endif // CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ | 212 #endif // CHROME_BROWSER_BROWSING_DATA_CHROME_BROWSING_DATA_REMOVER_DELEGATE_H_ |
| OLD | NEW |