OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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/chrome_browsing_data_remover_delegate.h" | 5 #include "chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.h" |
6 | 6 |
7 #include <set> | 7 #include <set> |
8 #include <string> | 8 #include <string> |
9 #include <utility> | 9 #include <utility> |
10 | 10 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" | 47 #include "components/autofill/core/browser/webdata/autofill_webdata_service.h" |
48 #include "components/bookmarks/browser/bookmark_model.h" | 48 #include "components/bookmarks/browser/bookmark_model.h" |
49 #include "components/content_settings/core/browser/host_content_settings_map.h" | 49 #include "components/content_settings/core/browser/host_content_settings_map.h" |
50 #include "components/content_settings/core/common/content_settings.h" | 50 #include "components/content_settings/core/common/content_settings.h" |
51 #include "components/content_settings/core/common/content_settings_pattern.h" | 51 #include "components/content_settings/core/common/content_settings_pattern.h" |
52 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp
ression_stats.h" | 52 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_comp
ression_stats.h" |
53 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv
ice.h" | 53 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_serv
ice.h" |
54 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" | 54 #include "components/data_reduction_proxy/core/browser/data_reduction_proxy_sett
ings.h" |
55 #include "components/domain_reliability/service.h" | 55 #include "components/domain_reliability/service.h" |
56 #include "components/history/core/browser/history_service.h" | 56 #include "components/history/core/browser/history_service.h" |
57 #include "components/nacl/browser/nacl_browser.h" | |
58 #include "components/nacl/browser/pnacl_host.h" | |
59 #include "components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h" | 57 #include "components/ntp_snippets/bookmarks/bookmark_last_visit_utils.h" |
60 #include "components/ntp_snippets/content_suggestions_service.h" | 58 #include "components/ntp_snippets/content_suggestions_service.h" |
61 #include "components/omnibox/browser/omnibox_pref_names.h" | 59 #include "components/omnibox/browser/omnibox_pref_names.h" |
62 #include "components/password_manager/core/browser/password_store.h" | 60 #include "components/password_manager/core/browser/password_store.h" |
63 #include "components/prefs/pref_service.h" | 61 #include "components/prefs/pref_service.h" |
64 #include "components/previews/core/previews_ui_service.h" | 62 #include "components/previews/core/previews_ui_service.h" |
65 #include "components/search_engines/template_url_service.h" | 63 #include "components/search_engines/template_url_service.h" |
66 #include "components/sessions/core/tab_restore_service.h" | 64 #include "components/sessions/core/tab_restore_service.h" |
67 #include "components/translate/core/browser/language_model.h" | 65 #include "components/translate/core/browser/language_model.h" |
68 #include "content/public/browser/browsing_data_filter_builder.h" | 66 #include "content/public/browser/browsing_data_filter_builder.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 | 103 |
106 #if BUILDFLAG(ENABLE_WEBRTC) | 104 #if BUILDFLAG(ENABLE_WEBRTC) |
107 #include "chrome/browser/media/webrtc/webrtc_log_list.h" | 105 #include "chrome/browser/media/webrtc/webrtc_log_list.h" |
108 #include "chrome/browser/media/webrtc/webrtc_log_util.h" | 106 #include "chrome/browser/media/webrtc/webrtc_log_util.h" |
109 #endif | 107 #endif |
110 | 108 |
111 #if BUILDFLAG(ENABLE_PLUGINS) | 109 #if BUILDFLAG(ENABLE_PLUGINS) |
112 #include "chrome/browser/browsing_data/browsing_data_flash_lso_helper.h" | 110 #include "chrome/browser/browsing_data/browsing_data_flash_lso_helper.h" |
113 #endif | 111 #endif |
114 | 112 |
| 113 #if !defined(DISABLE_NACL) |
| 114 #include "components/nacl/browser/nacl_browser.h" |
| 115 #include "components/nacl/browser/pnacl_host.h" |
| 116 #endif |
| 117 |
115 using base::UserMetricsAction; | 118 using base::UserMetricsAction; |
116 using content::BrowserContext; | 119 using content::BrowserContext; |
117 using content::BrowserThread; | 120 using content::BrowserThread; |
118 using content::BrowsingDataFilterBuilder; | 121 using content::BrowsingDataFilterBuilder; |
119 | 122 |
120 namespace { | 123 namespace { |
121 | 124 |
122 void UIThreadTrampolineHelper(const base::Closure& callback) { | 125 void UIThreadTrampolineHelper(const base::Closure& callback) { |
123 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, callback); | 126 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, callback); |
124 } | 127 } |
(...skipping 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1056 } | 1059 } |
1057 | 1060 |
1058 void ChromeBrowsingDataRemoverDelegate:: | 1061 void ChromeBrowsingDataRemoverDelegate:: |
1059 OnDeauthorizeFlashContentLicensesCompleted( | 1062 OnDeauthorizeFlashContentLicensesCompleted( |
1060 uint32_t request_id, | 1063 uint32_t request_id, |
1061 bool /* success */) { | 1064 bool /* success */) { |
1062 DCHECK_EQ(request_id, deauthorize_flash_content_licenses_request_id_); | 1065 DCHECK_EQ(request_id, deauthorize_flash_content_licenses_request_id_); |
1063 clear_flash_content_licenses_.GetCompletionCallback().Run(); | 1066 clear_flash_content_licenses_.GetCompletionCallback().Run(); |
1064 } | 1067 } |
1065 #endif | 1068 #endif |
OLD | NEW |