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" |
11 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
12 #include "base/observer_list.h" | 12 #include "base/observer_list.h" |
13 #include "base/prefs/pref_member.h" | 13 #include "base/prefs/pref_member.h" |
14 #include "base/sequenced_task_runner_helpers.h" | 14 #include "base/sequenced_task_runner_helpers.h" |
15 #include "base/synchronization/waitable_event_watcher.h" | 15 #include "base/synchronization/waitable_event_watcher.h" |
| 16 #include "base/task/cancelable_task_tracker.h" |
16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
17 #include "chrome/browser/pepper_flash_settings_manager.h" | 18 #include "chrome/browser/pepper_flash_settings_manager.h" |
18 #include "chrome/browser/search_engines/template_url_service.h" | 19 #include "chrome/browser/search_engines/template_url_service.h" |
19 #include "chrome/common/cancelable_task_tracker.h" | |
20 #if defined(OS_CHROMEOS) | 20 #if defined(OS_CHROMEOS) |
21 #include "chromeos/dbus/dbus_method_call_status.h" | 21 #include "chromeos/dbus/dbus_method_call_status.h" |
22 #endif | 22 #endif |
23 #include "url/gurl.h" | 23 #include "url/gurl.h" |
24 #include "webkit/common/quota/quota_types.h" | 24 #include "webkit/common/quota/quota_types.h" |
25 | 25 |
26 class ExtensionSpecialStoragePolicy; | 26 class ExtensionSpecialStoragePolicy; |
27 class IOThread; | 27 class IOThread; |
28 class Profile; | 28 class Profile; |
29 | 29 |
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 | 394 |
395 // The origin for the current removal operation. | 395 // The origin for the current removal operation. |
396 GURL remove_origin_; | 396 GURL remove_origin_; |
397 | 397 |
398 // From which types of origins should we remove data? | 398 // From which types of origins should we remove data? |
399 int origin_set_mask_; | 399 int origin_set_mask_; |
400 | 400 |
401 ObserverList<Observer> observer_list_; | 401 ObserverList<Observer> observer_list_; |
402 | 402 |
403 // Used if we need to clear history. | 403 // Used if we need to clear history. |
404 CancelableTaskTracker history_task_tracker_; | 404 base::CancelableTaskTracker history_task_tracker_; |
405 | 405 |
406 scoped_ptr<TemplateURLService::Subscription> template_url_sub_; | 406 scoped_ptr<TemplateURLService::Subscription> template_url_sub_; |
407 | 407 |
408 // We do not own this. | 408 // We do not own this. |
409 content::StoragePartition* storage_partition_for_testing_; | 409 content::StoragePartition* storage_partition_for_testing_; |
410 | 410 |
411 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); | 411 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemover); |
412 }; | 412 }; |
413 | 413 |
414 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ | 414 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_H_ |
OLD | NEW |