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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 #include "content/public/renderer/render_thread.h" | 46 #include "content/public/renderer/render_thread.h" |
47 #include "content/public/renderer/render_view.h" | 47 #include "content/public/renderer/render_view.h" |
48 #include "content/public/renderer/render_view_visitor.h" | 48 #include "content/public/renderer/render_view_visitor.h" |
49 #include "extensions/features/features.h" | 49 #include "extensions/features/features.h" |
50 #include "media/base/localized_strings.h" | 50 #include "media/base/localized_strings.h" |
51 #include "mojo/public/cpp/bindings/strong_binding.h" | 51 #include "mojo/public/cpp/bindings/strong_binding.h" |
52 #include "net/base/net_errors.h" | 52 #include "net/base/net_errors.h" |
53 #include "net/base/net_module.h" | 53 #include "net/base/net_module.h" |
54 #include "services/service_manager/public/cpp/interface_provider.h" | 54 #include "services/service_manager/public/cpp/interface_provider.h" |
55 #include "services/service_manager/public/cpp/interface_registry.h" | 55 #include "services/service_manager/public/cpp/interface_registry.h" |
56 #include "third_party/WebKit/public/web/WebCache.h" | 56 #include "third_party/WebKit/public/platform/WebCache.h" |
57 #include "third_party/WebKit/public/web/WebDocument.h" | 57 #include "third_party/WebKit/public/web/WebDocument.h" |
58 #include "third_party/WebKit/public/web/WebFrame.h" | 58 #include "third_party/WebKit/public/web/WebFrame.h" |
59 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 59 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
60 #include "third_party/WebKit/public/web/WebView.h" | 60 #include "third_party/WebKit/public/web/WebView.h" |
61 | 61 |
62 #if BUILDFLAG(ENABLE_EXTENSIONS) | 62 #if BUILDFLAG(ENABLE_EXTENSIONS) |
63 #include "chrome/renderer/extensions/extension_localization_peer.h" | 63 #include "chrome/renderer/extensions/extension_localization_peer.h" |
64 #endif | 64 #endif |
65 | 65 |
66 using blink::WebCache; | 66 using blink::WebCache; |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 | 322 |
323 void ChromeRenderThreadObserver::OnRendererConfigurationAssociatedRequest( | 323 void ChromeRenderThreadObserver::OnRendererConfigurationAssociatedRequest( |
324 chrome::mojom::RendererConfigurationAssociatedRequest request) { | 324 chrome::mojom::RendererConfigurationAssociatedRequest request) { |
325 renderer_configuration_bindings_.AddBinding(this, std::move(request)); | 325 renderer_configuration_bindings_.AddBinding(this, std::move(request)); |
326 } | 326 } |
327 | 327 |
328 const RendererContentSettingRules* | 328 const RendererContentSettingRules* |
329 ChromeRenderThreadObserver::content_setting_rules() const { | 329 ChromeRenderThreadObserver::content_setting_rules() const { |
330 return &content_setting_rules_; | 330 return &content_setting_rules_; |
331 } | 331 } |
OLD | NEW |