| 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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 // Callback on UI thread when the precache history has been cleared. | 421 // Callback on UI thread when the precache history has been cleared. |
| 422 void OnClearedPrecacheHistory(); | 422 void OnClearedPrecacheHistory(); |
| 423 | 423 |
| 424 // Callback on UI thread when the webapp data has been cleared. | 424 // Callback on UI thread when the webapp data has been cleared. |
| 425 void OnClearedWebappData(); | 425 void OnClearedWebappData(); |
| 426 | 426 |
| 427 // Callback on UI thread when the webapp history has been cleared. | 427 // Callback on UI thread when the webapp history has been cleared. |
| 428 void OnClearedWebappHistory(); | 428 void OnClearedWebappHistory(); |
| 429 | 429 |
| 430 // Callback on UI thread when the offline page data has been cleared. | 430 // Callback on UI thread when the offline page data has been cleared. |
| 431 void OnClearedOfflinePageData( | 431 void OnClearedOfflinePageData(offline_pages::DeletePageResult result); |
| 432 offline_pages::OfflinePageModel::DeletePageResult result); | |
| 433 #endif | 432 #endif |
| 434 | 433 |
| 435 void OnClearedDomainReliabilityMonitor(); | 434 void OnClearedDomainReliabilityMonitor(); |
| 436 | 435 |
| 437 // Returns true if we're all done. | 436 // Returns true if we're all done. |
| 438 bool AllDone(); | 437 bool AllDone(); |
| 439 | 438 |
| 440 // Profile we're to remove from. | 439 // Profile we're to remove from. |
| 441 Profile* profile_; | 440 Profile* profile_; |
| 442 | 441 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 518 // not initialised, so the registry must be mocked out. | 517 // not initialised, so the registry must be mocked out. |
| 519 std::unique_ptr<WebappRegistry> webapp_registry_; | 518 std::unique_ptr<WebappRegistry> webapp_registry_; |
| 520 #endif | 519 #endif |
| 521 | 520 |
| 522 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; | 521 base::WeakPtrFactory<BrowsingDataRemover> weak_ptr_factory_; |
| 523 | 522 |
| 524 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 523 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
| 525 }; | 524 }; |
| 526 | 525 |
| 527 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 526 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| OLD | NEW |