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_render_thread_observer.h" | 5 #include "chrome/renderer/chrome_render_thread_observer.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <limits> | 9 #include <limits> |
10 #include <memory> | 10 #include <memory> |
(...skipping 23 matching lines...) Expand all Loading... |
34 #include "chrome/common/render_messages.h" | 34 #include "chrome/common/render_messages.h" |
35 #include "chrome/common/resource_usage_reporter.mojom.h" | 35 #include "chrome/common/resource_usage_reporter.mojom.h" |
36 #include "chrome/common/resource_usage_reporter_type_converters.h" | 36 #include "chrome/common/resource_usage_reporter_type_converters.h" |
37 #include "chrome/common/url_constants.h" | 37 #include "chrome/common/url_constants.h" |
38 #include "chrome/renderer/content_settings_observer.h" | 38 #include "chrome/renderer/content_settings_observer.h" |
39 #include "chrome/renderer/security_filter_peer.h" | 39 #include "chrome/renderer/security_filter_peer.h" |
40 #include "components/visitedlink/renderer/visitedlink_slave.h" | 40 #include "components/visitedlink/renderer/visitedlink_slave.h" |
41 #include "content/public/child/resource_dispatcher_delegate.h" | 41 #include "content/public/child/resource_dispatcher_delegate.h" |
42 #include "content/public/common/associated_interface_registry.h" | 42 #include "content/public/common/associated_interface_registry.h" |
43 #include "content/public/common/content_switches.h" | 43 #include "content/public/common/content_switches.h" |
| 44 #include "content/public/common/service_names.mojom.h" |
44 #include "content/public/renderer/render_thread.h" | 45 #include "content/public/renderer/render_thread.h" |
45 #include "content/public/renderer/render_view.h" | 46 #include "content/public/renderer/render_view.h" |
46 #include "content/public/renderer/render_view_visitor.h" | 47 #include "content/public/renderer/render_view_visitor.h" |
47 #include "extensions/features/features.h" | 48 #include "extensions/features/features.h" |
48 #include "media/base/localized_strings.h" | 49 #include "media/base/localized_strings.h" |
49 #include "mojo/public/cpp/bindings/strong_binding.h" | 50 #include "mojo/public/cpp/bindings/strong_binding.h" |
50 #include "net/base/net_errors.h" | 51 #include "net/base/net_errors.h" |
51 #include "net/base/net_module.h" | 52 #include "net/base/net_module.h" |
52 #include "services/service_manager/public/cpp/interface_provider.h" | 53 #include "services/service_manager/public/cpp/connector.h" |
53 #include "services/service_manager/public/cpp/interface_registry.h" | 54 #include "services/service_manager/public/cpp/interface_registry.h" |
54 #include "third_party/WebKit/public/platform/WebCache.h" | 55 #include "third_party/WebKit/public/platform/WebCache.h" |
55 #include "third_party/WebKit/public/web/WebDocument.h" | 56 #include "third_party/WebKit/public/web/WebDocument.h" |
56 #include "third_party/WebKit/public/web/WebFrame.h" | 57 #include "third_party/WebKit/public/web/WebFrame.h" |
57 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 58 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
58 #include "third_party/WebKit/public/web/WebView.h" | 59 #include "third_party/WebKit/public/web/WebView.h" |
59 | 60 |
60 #if BUILDFLAG(ENABLE_EXTENSIONS) | 61 #if BUILDFLAG(ENABLE_EXTENSIONS) |
61 #include "chrome/renderer/extensions/extension_localization_peer.h" | 62 #include "chrome/renderer/extensions/extension_localization_peer.h" |
62 #endif | 63 #endif |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
304 | 305 |
305 void ChromeRenderThreadObserver::OnRendererConfigurationAssociatedRequest( | 306 void ChromeRenderThreadObserver::OnRendererConfigurationAssociatedRequest( |
306 chrome::mojom::RendererConfigurationAssociatedRequest request) { | 307 chrome::mojom::RendererConfigurationAssociatedRequest request) { |
307 renderer_configuration_bindings_.AddBinding(this, std::move(request)); | 308 renderer_configuration_bindings_.AddBinding(this, std::move(request)); |
308 } | 309 } |
309 | 310 |
310 const RendererContentSettingRules* | 311 const RendererContentSettingRules* |
311 ChromeRenderThreadObserver::content_setting_rules() const { | 312 ChromeRenderThreadObserver::content_setting_rules() const { |
312 return &content_setting_rules_; | 313 return &content_setting_rules_; |
313 } | 314 } |
OLD | NEW |