Chromium Code Reviews| 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 381 #endif | 381 #endif |
| 382 | 382 |
| 383 void OnClearedDomainReliabilityMonitor(); | 383 void OnClearedDomainReliabilityMonitor(); |
| 384 | 384 |
| 385 // Returns true if we're all done. | 385 // Returns true if we're all done. |
| 386 bool AllDone(); | 386 bool AllDone(); |
| 387 | 387 |
| 388 // Profile we're to remove from. | 388 // Profile we're to remove from. |
| 389 Profile* profile_; | 389 Profile* profile_; |
| 390 | 390 |
| 391 // 'Protected' origins are not subject to data removal. | |
| 392 scoped_refptr<ExtensionSpecialStoragePolicy> special_storage_policy_; | |
|
Lei Zhang
2014/07/30 21:28:38
I can't tell if this exists simply to add a refere
Mike West
2014/07/31 06:32:39
I think it's safe to remove, thanks!
| |
| 393 | |
| 394 // Start time to delete from. | 391 // Start time to delete from. |
| 395 const base::Time delete_begin_; | 392 const base::Time delete_begin_; |
| 396 | 393 |
| 397 // End time to delete to. | 394 // End time to delete to. |
| 398 base::Time delete_end_; | 395 base::Time delete_end_; |
| 399 | 396 |
| 400 // True if Remove has been invoked. | 397 // True if Remove has been invoked. |
| 401 static bool is_removing_; | 398 static bool is_removing_; |
| 402 | 399 |
| 403 // If non-NULL, the |completion_inhibitor_| is notified each time an instance | 400 // If non-NULL, the |completion_inhibitor_| is notified each time an instance |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 463 | 460 |
| 464 scoped_ptr<TemplateURLService::Subscription> template_url_sub_; | 461 scoped_ptr<TemplateURLService::Subscription> template_url_sub_; |
| 465 | 462 |
| 466 // We do not own this. | 463 // We do not own this. |
| 467 content::StoragePartition* storage_partition_for_testing_; | 464 content::StoragePartition* storage_partition_for_testing_; |
| 468 | 465 |
| 469 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 466 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
| 470 }; | 467 }; |
| 471 | 468 |
| 472 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 469 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
| OLD | NEW |