Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: chrome/browser/browsing_data/browsing_data_remover.h

Issue 137263007: Move CancelableTaskTracker to //base/task/CancelableTaskTracker. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to base/task/cancelable_task_tracker* Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model.cc ('k') | chrome/browser/chromeos/boot_times_loader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_model.cc ('k') | chrome/browser/chromeos/boot_times_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698