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

Side by Side Diff: chrome/browser/browsing_data/chrome_browsing_data_remover_delegate.cc

Issue 2514323004: Convert NaCl renderer-browser messages to mojo. (Closed)
Patch Set: rebase Created 3 years, 11 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
OLDNEW
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
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 "content/public/browser/plugin_data_remover.h" 65 #include "content/public/browser/plugin_data_remover.h"
68 #include "content/public/browser/ssl_host_state_delegate.h" 66 #include "content/public/browser/ssl_host_state_delegate.h"
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 101
104 #if BUILDFLAG(ENABLE_WEBRTC) 102 #if BUILDFLAG(ENABLE_WEBRTC)
105 #include "chrome/browser/media/webrtc/webrtc_log_list.h" 103 #include "chrome/browser/media/webrtc/webrtc_log_list.h"
106 #include "chrome/browser/media/webrtc/webrtc_log_util.h" 104 #include "chrome/browser/media/webrtc/webrtc_log_util.h"
107 #endif 105 #endif
108 106
109 #if BUILDFLAG(ENABLE_PLUGINS) 107 #if BUILDFLAG(ENABLE_PLUGINS)
110 #include "chrome/browser/browsing_data/browsing_data_flash_lso_helper.h" 108 #include "chrome/browser/browsing_data/browsing_data_flash_lso_helper.h"
111 #endif 109 #endif
112 110
111 #if !defined(DISABLE_NACL)
112 #include "components/nacl/browser/nacl_browser.h"
113 #include "components/nacl/browser/pnacl_host.h"
114 #endif
115
113 using base::UserMetricsAction; 116 using base::UserMetricsAction;
114 using content::BrowserContext; 117 using content::BrowserContext;
115 using content::BrowserThread; 118 using content::BrowserThread;
116 119
117 namespace { 120 namespace {
118 121
119 void UIThreadTrampolineHelper(const base::Closure& callback) { 122 void UIThreadTrampolineHelper(const base::Closure& callback) {
120 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, callback); 123 BrowserThread::PostTask(BrowserThread::UI, FROM_HERE, callback);
121 } 124 }
122 125
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after
1041 } 1044 }
1042 1045
1043 void ChromeBrowsingDataRemoverDelegate:: 1046 void ChromeBrowsingDataRemoverDelegate::
1044 OnDeauthorizeFlashContentLicensesCompleted( 1047 OnDeauthorizeFlashContentLicensesCompleted(
1045 uint32_t request_id, 1048 uint32_t request_id,
1046 bool /* success */) { 1049 bool /* success */) {
1047 DCHECK_EQ(request_id, deauthorize_flash_content_licenses_request_id_); 1050 DCHECK_EQ(request_id, deauthorize_flash_content_licenses_request_id_);
1048 clear_flash_content_licenses_.GetCompletionCallback().Run(); 1051 clear_flash_content_licenses_.GetCompletionCallback().Run();
1049 } 1052 }
1050 #endif 1053 #endif
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | components/nacl/browser/nacl_file_host.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698