| 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/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/bind.h" | 10 #include "base/bind.h" |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 #include "chrome/renderer/net_benchmarking_extension.h" | 49 #include "chrome/renderer/net_benchmarking_extension.h" |
| 50 #include "chrome/renderer/page_load_metrics/metrics_render_frame_observer.h" | 50 #include "chrome/renderer/page_load_metrics/metrics_render_frame_observer.h" |
| 51 #include "chrome/renderer/pepper/pepper_helper.h" | 51 #include "chrome/renderer/pepper/pepper_helper.h" |
| 52 #include "chrome/renderer/plugins/non_loadable_plugin_placeholder.h" | 52 #include "chrome/renderer/plugins/non_loadable_plugin_placeholder.h" |
| 53 #include "chrome/renderer/plugins/plugin_preroller.h" | 53 #include "chrome/renderer/plugins/plugin_preroller.h" |
| 54 #include "chrome/renderer/plugins/plugin_uma.h" | 54 #include "chrome/renderer/plugins/plugin_uma.h" |
| 55 #include "chrome/renderer/prerender/prerender_dispatcher.h" | 55 #include "chrome/renderer/prerender/prerender_dispatcher.h" |
| 56 #include "chrome/renderer/prerender/prerender_helper.h" | 56 #include "chrome/renderer/prerender/prerender_helper.h" |
| 57 #include "chrome/renderer/prerender/prerenderer_client.h" | 57 #include "chrome/renderer/prerender/prerenderer_client.h" |
| 58 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h" | 58 #include "chrome/renderer/safe_browsing/phishing_classifier_delegate.h" |
| 59 #include "chrome/renderer/safe_browsing/threat_dom_details.h" | |
| 60 #include "chrome/renderer/searchbox/search_bouncer.h" | 59 #include "chrome/renderer/searchbox/search_bouncer.h" |
| 61 #include "chrome/renderer/searchbox/searchbox.h" | 60 #include "chrome/renderer/searchbox/searchbox.h" |
| 62 #include "chrome/renderer/searchbox/searchbox_extension.h" | 61 #include "chrome/renderer/searchbox/searchbox_extension.h" |
| 63 #include "chrome/renderer/tts_dispatcher.h" | 62 #include "chrome/renderer/tts_dispatcher.h" |
| 64 #include "chrome/renderer/worker_content_settings_client_proxy.h" | 63 #include "chrome/renderer/worker_content_settings_client_proxy.h" |
| 65 #include "components/autofill/content/renderer/autofill_agent.h" | 64 #include "components/autofill/content/renderer/autofill_agent.h" |
| 66 #include "components/autofill/content/renderer/password_autofill_agent.h" | 65 #include "components/autofill/content/renderer/password_autofill_agent.h" |
| 67 #include "components/autofill/content/renderer/password_generation_agent.h" | 66 #include "components/autofill/content/renderer/password_generation_agent.h" |
| 68 #include "components/content_settings/core/common/content_settings_pattern.h" | 67 #include "components/content_settings/core/common/content_settings_pattern.h" |
| 69 #include "components/contextual_search/renderer/overlay_js_render_frame_observer
.h" | 68 #include "components/contextual_search/renderer/overlay_js_render_frame_observer
.h" |
| 70 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade
rs.h" | 69 #include "components/data_reduction_proxy/core/common/data_reduction_proxy_heade
rs.h" |
| 71 #include "components/dom_distiller/content/renderer/distillability_agent.h" | 70 #include "components/dom_distiller/content/renderer/distillability_agent.h" |
| 72 #include "components/dom_distiller/content/renderer/distiller_js_render_frame_ob
server.h" | 71 #include "components/dom_distiller/content/renderer/distiller_js_render_frame_ob
server.h" |
| 73 #include "components/dom_distiller/core/dom_distiller_switches.h" | 72 #include "components/dom_distiller/core/dom_distiller_switches.h" |
| 74 #include "components/dom_distiller/core/url_constants.h" | 73 #include "components/dom_distiller/core/url_constants.h" |
| 75 #include "components/error_page/common/localized_error.h" | 74 #include "components/error_page/common/localized_error.h" |
| 76 #include "components/network_hints/renderer/prescient_networking_dispatcher.h" | 75 #include "components/network_hints/renderer/prescient_networking_dispatcher.h" |
| 77 #include "components/password_manager/content/renderer/credential_manager_client
.h" | 76 #include "components/password_manager/content/renderer/credential_manager_client
.h" |
| 78 #include "components/pdf/renderer/pepper_pdf_host.h" | 77 #include "components/pdf/renderer/pepper_pdf_host.h" |
| 78 #include "components/safe_browsing/renderer/threat_dom_details.h" |
| 79 #include "components/signin/core/common/profile_management_switches.h" | 79 #include "components/signin/core/common/profile_management_switches.h" |
| 80 #include "components/spellcheck/spellcheck_build_features.h" | 80 #include "components/spellcheck/spellcheck_build_features.h" |
| 81 #include "components/startup_metric_utils/common/startup_metric.mojom.h" | 81 #include "components/startup_metric_utils/common/startup_metric.mojom.h" |
| 82 #include "components/subresource_filter/content/renderer/subresource_filter_agen
t.h" | 82 #include "components/subresource_filter/content/renderer/subresource_filter_agen
t.h" |
| 83 #include "components/subresource_filter/content/renderer/unverified_ruleset_deal
er.h" | 83 #include "components/subresource_filter/content/renderer/unverified_ruleset_deal
er.h" |
| 84 #include "components/task_scheduler_util/renderer/initialization.h" | 84 #include "components/task_scheduler_util/renderer/initialization.h" |
| 85 #include "components/version_info/version_info.h" | 85 #include "components/version_info/version_info.h" |
| 86 #include "components/visitedlink/renderer/visitedlink_slave.h" | 86 #include "components/visitedlink/renderer/visitedlink_slave.h" |
| 87 #include "components/web_cache/renderer/web_cache_impl.h" | 87 #include "components/web_cache/renderer/web_cache_impl.h" |
| 88 #include "content/public/common/content_constants.h" | 88 #include "content/public/common/content_constants.h" |
| (...skipping 1418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1507 std::vector<base::SchedulerWorkerPoolParams>* params_vector, | 1507 std::vector<base::SchedulerWorkerPoolParams>* params_vector, |
| 1508 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* | 1508 base::TaskScheduler::WorkerPoolIndexForTraitsCallback* |
| 1509 index_to_traits_callback) { | 1509 index_to_traits_callback) { |
| 1510 DCHECK(params_vector); | 1510 DCHECK(params_vector); |
| 1511 DCHECK(index_to_traits_callback); | 1511 DCHECK(index_to_traits_callback); |
| 1512 // If this call fails, content will fall back to the default params. | 1512 // If this call fails, content will fall back to the default params. |
| 1513 *params_vector = task_scheduler_util::GetRendererWorkerPoolParams(); | 1513 *params_vector = task_scheduler_util::GetRendererWorkerPoolParams(); |
| 1514 *index_to_traits_callback = | 1514 *index_to_traits_callback = |
| 1515 base::Bind(&task_scheduler_util::RendererWorkerPoolIndexForTraits); | 1515 base::Bind(&task_scheduler_util::RendererWorkerPoolIndexForTraits); |
| 1516 } | 1516 } |
| OLD | NEW |