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 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 5 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
14 #include "base/callback.h" | 14 #include "base/callback.h" |
15 #include "base/logging.h" | 15 #include "base/logging.h" |
| 16 #include "base/memory/ptr_util.h" |
16 #include "base/metrics/histogram_macros.h" | 17 #include "base/metrics/histogram_macros.h" |
17 #include "chrome/browser/browsing_data/browsing_data_filter_builder.h" | 18 #include "chrome/browser/browsing_data/browsing_data_filter_builder.h" |
18 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 19 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
19 #include "chrome/browser/browsing_data/browsing_data_remover_delegate.h" | 20 #include "chrome/browser/browsing_data/browsing_data_remover_delegate.h" |
20 #include "chrome/browser/browsing_data/registrable_domain_filter_builder.h" | 21 #include "chrome/browser/browsing_data/registrable_domain_filter_builder.h" |
21 #include "chrome/browser/download/download_prefs.h" | 22 #include "chrome/browser/download/download_prefs.h" |
22 #include "chrome/browser/io_thread.h" | 23 #include "chrome/browser/io_thread.h" |
23 #include "chrome/browser/profiles/profile.h" | 24 #include "chrome/browser/profiles/profile.h" |
24 #include "chrome/common/pref_names.h" | 25 #include "chrome/common/pref_names.h" |
25 #include "components/browsing_data/content/storage_partition_http_cache_data_rem
over.h" | 26 #include "components/browsing_data/content/storage_partition_http_cache_data_rem
over.h" |
(...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
774 } | 775 } |
775 | 776 |
776 NotifyIfDone(); | 777 NotifyIfDone(); |
777 } | 778 } |
778 | 779 |
779 void BrowsingDataRemover::OnFlashDataDeleted() { | 780 void BrowsingDataRemover::OnFlashDataDeleted() { |
780 clear_plugin_data_count_--; | 781 clear_plugin_data_count_--; |
781 NotifyIfDone(); | 782 NotifyIfDone(); |
782 } | 783 } |
783 #endif | 784 #endif |
OLD | NEW |