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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.cc

Issue 2177743002: Migrate page_load_metrics out of components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: migrate page_load_metrics_messages to common message generator Created 4 years, 4 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/renderer/OWNERS ('k') | chrome/renderer/page_load_metrics/OWNERS » ('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 #include "chrome/renderer/chrome_content_renderer_client.h" 5 #include "chrome/renderer/chrome_content_renderer_client.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 27 matching lines...) Expand all
38 #include "chrome/renderer/chrome_render_frame_observer.h" 38 #include "chrome/renderer/chrome_render_frame_observer.h"
39 #include "chrome/renderer/chrome_render_thread_observer.h" 39 #include "chrome/renderer/chrome_render_thread_observer.h"
40 #include "chrome/renderer/chrome_render_view_observer.h" 40 #include "chrome/renderer/chrome_render_view_observer.h"
41 #include "chrome/renderer/content_settings_observer.h" 41 #include "chrome/renderer/content_settings_observer.h"
42 #include "chrome/renderer/external_extension.h" 42 #include "chrome/renderer/external_extension.h"
43 #include "chrome/renderer/loadtimes_extension_bindings.h" 43 #include "chrome/renderer/loadtimes_extension_bindings.h"
44 #include "chrome/renderer/media/chrome_key_systems.h" 44 #include "chrome/renderer/media/chrome_key_systems.h"
45 #include "chrome/renderer/net/net_error_helper.h" 45 #include "chrome/renderer/net/net_error_helper.h"
46 #include "chrome/renderer/net_benchmarking_extension.h" 46 #include "chrome/renderer/net_benchmarking_extension.h"
47 #include "chrome/renderer/page_load_histograms.h" 47 #include "chrome/renderer/page_load_histograms.h"
48 #include "chrome/renderer/page_load_metrics/metrics_render_frame_observer.h"
48 #include "chrome/renderer/pepper/pepper_helper.h" 49 #include "chrome/renderer/pepper/pepper_helper.h"
49 #include "chrome/renderer/plugins/non_loadable_plugin_placeholder.h" 50 #include "chrome/renderer/plugins/non_loadable_plugin_placeholder.h"
50 #include "chrome/renderer/plugins/plugin_preroller.h" 51 #include "chrome/renderer/plugins/plugin_preroller.h"
51 #include "chrome/renderer/plugins/plugin_uma.h" 52 #include "chrome/renderer/plugins/plugin_uma.h"
52 #include "chrome/renderer/prerender/prerender_dispatcher.h" 53 #include "chrome/renderer/prerender/prerender_dispatcher.h"
53 #include "chrome/renderer/prerender/prerender_helper.h" 54 #include "chrome/renderer/prerender/prerender_helper.h"
54 #include "chrome/renderer/prerender/prerenderer_client.h" 55 #include "chrome/renderer/prerender/prerenderer_client.h"
55 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h" 56 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h"
56 #include "chrome/renderer/safe_browsing/threat_dom_details.h" 57 #include "chrome/renderer/safe_browsing/threat_dom_details.h"
57 #include "chrome/renderer/searchbox/search_bouncer.h" 58 #include "chrome/renderer/searchbox/search_bouncer.h"
58 #include "chrome/renderer/searchbox/searchbox.h" 59 #include "chrome/renderer/searchbox/searchbox.h"
59 #include "chrome/renderer/searchbox/searchbox_extension.h" 60 #include "chrome/renderer/searchbox/searchbox_extension.h"
60 #include "chrome/renderer/tts_dispatcher.h" 61 #include "chrome/renderer/tts_dispatcher.h"
61 #include "chrome/renderer/worker_content_settings_client_proxy.h" 62 #include "chrome/renderer/worker_content_settings_client_proxy.h"
62 #include "components/autofill/content/renderer/autofill_agent.h" 63 #include "components/autofill/content/renderer/autofill_agent.h"
63 #include "components/autofill/content/renderer/password_autofill_agent.h" 64 #include "components/autofill/content/renderer/password_autofill_agent.h"
64 #include "components/autofill/content/renderer/password_generation_agent.h" 65 #include "components/autofill/content/renderer/password_generation_agent.h"
65 #include "components/content_settings/core/common/content_settings_pattern.h" 66 #include "components/content_settings/core/common/content_settings_pattern.h"
66 #include "components/contextual_search/renderer/overlay_js_render_frame_observer .h" 67 #include "components/contextual_search/renderer/overlay_js_render_frame_observer .h"
67 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h" 68 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade rs.h"
68 #include "components/dom_distiller/content/renderer/distillability_agent.h" 69 #include "components/dom_distiller/content/renderer/distillability_agent.h"
69 #include "components/dom_distiller/content/renderer/distiller_js_render_frame_ob server.h" 70 #include "components/dom_distiller/content/renderer/distiller_js_render_frame_ob server.h"
70 #include "components/dom_distiller/core/url_constants.h" 71 #include "components/dom_distiller/core/url_constants.h"
71 #include "components/error_page/common/localized_error.h" 72 #include "components/error_page/common/localized_error.h"
72 #include "components/network_hints/renderer/prescient_networking_dispatcher.h" 73 #include "components/network_hints/renderer/prescient_networking_dispatcher.h"
73 #include "components/page_load_metrics/renderer/metrics_render_frame_observer.h"
74 #include "components/password_manager/content/renderer/credential_manager_client .h" 74 #include "components/password_manager/content/renderer/credential_manager_client .h"
75 #include "components/pdf/renderer/pepper_pdf_host.h" 75 #include "components/pdf/renderer/pepper_pdf_host.h"
76 #include "components/plugins/renderer/mobile_youtube_plugin.h" 76 #include "components/plugins/renderer/mobile_youtube_plugin.h"
77 #include "components/signin/core/common/profile_management_switches.h" 77 #include "components/signin/core/common/profile_management_switches.h"
78 #include "components/startup_metric_utils/common/startup_metric.mojom.h" 78 #include "components/startup_metric_utils/common/startup_metric.mojom.h"
79 #include "components/subresource_filter/content/renderer/ruleset_dealer.h" 79 #include "components/subresource_filter/content/renderer/ruleset_dealer.h"
80 #include "components/subresource_filter/content/renderer/subresource_filter_agen t.h" 80 #include "components/subresource_filter/content/renderer/subresource_filter_agen t.h"
81 #include "components/version_info/version_info.h" 81 #include "components/version_info/version_info.h"
82 #include "components/visitedlink/renderer/visitedlink_slave.h" 82 #include "components/visitedlink/renderer/visitedlink_slave.h"
83 #include "components/web_cache/renderer/web_cache_impl.h" 83 #include "components/web_cache/renderer/web_cache_impl.h"
(...skipping 1290 matching lines...) Expand 10 before | Expand all | Expand 10 after
1374 // chrome.system.network.getNetworkInterfaces provides the same 1374 // chrome.system.network.getNetworkInterfaces provides the same
1375 // information. Also, the enforcement of sending and binding UDP is already done 1375 // information. Also, the enforcement of sending and binding UDP is already done
1376 // by chrome extension permission model. 1376 // by chrome extension permission model.
1377 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() { 1377 bool ChromeContentRendererClient::ShouldEnforceWebRTCRoutingPreferences() {
1378 #if defined(ENABLE_EXTENSIONS) 1378 #if defined(ENABLE_EXTENSIONS)
1379 return !IsStandaloneExtensionProcess(); 1379 return !IsStandaloneExtensionProcess();
1380 #else 1380 #else
1381 return true; 1381 return true;
1382 #endif 1382 #endif
1383 } 1383 }
OLDNEW
« no previous file with comments | « chrome/renderer/OWNERS ('k') | chrome/renderer/page_load_metrics/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698