OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/browser/frame_host/render_frame_host_impl.h" | 5 #include "content/browser/frame_host/render_frame_host_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <utility> | 8 #include <utility> |
9 | 9 |
10 #include "base/bind.h" | 10 #include "base/bind.h" |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 #include "content/public/common/content_features.h" | 90 #include "content/public/common/content_features.h" |
91 #include "content/public/common/content_switches.h" | 91 #include "content/public/common/content_switches.h" |
92 #include "content/public/common/file_chooser_file_info.h" | 92 #include "content/public/common/file_chooser_file_info.h" |
93 #include "content/public/common/file_chooser_params.h" | 93 #include "content/public/common/file_chooser_params.h" |
94 #include "content/public/common/isolated_world_ids.h" | 94 #include "content/public/common/isolated_world_ids.h" |
95 #include "content/public/common/service_manager_connection.h" | 95 #include "content/public/common/service_manager_connection.h" |
96 #include "content/public/common/service_names.mojom.h" | 96 #include "content/public/common/service_names.mojom.h" |
97 #include "content/public/common/url_constants.h" | 97 #include "content/public/common/url_constants.h" |
98 #include "content/public/common/url_utils.h" | 98 #include "content/public/common/url_utils.h" |
99 #include "device/geolocation/geolocation_service_context.h" | 99 #include "device/geolocation/geolocation_service_context.h" |
100 #include "device/vr/features.h" | 100 #include "device/vr/features/features.h" |
101 #include "device/wake_lock/public/interfaces/wake_lock_context.mojom.h" | 101 #include "device/wake_lock/public/interfaces/wake_lock_context.mojom.h" |
102 #include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h" | 102 #include "device/wake_lock/public/interfaces/wake_lock_service.mojom.h" |
103 #include "media/base/media_switches.h" | 103 #include "media/base/media_switches.h" |
104 #include "media/media_features.h" | 104 #include "media/media_features.h" |
105 #include "media/mojo/interfaces/media_service.mojom.h" | 105 #include "media/mojo/interfaces/media_service.mojom.h" |
106 #include "media/mojo/interfaces/remoting.mojom.h" | 106 #include "media/mojo/interfaces/remoting.mojom.h" |
107 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" | 107 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" |
108 #include "mojo/public/cpp/bindings/strong_binding.h" | 108 #include "mojo/public/cpp/bindings/strong_binding.h" |
109 #include "mojo/public/cpp/system/data_pipe.h" | 109 #include "mojo/public/cpp/system/data_pipe.h" |
110 #include "services/service_manager/public/cpp/connector.h" | 110 #include "services/service_manager/public/cpp/connector.h" |
(...skipping 3675 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3786 } | 3786 } |
3787 | 3787 |
3788 void RenderFrameHostImpl::ForwardGetInterfaceToRenderFrame( | 3788 void RenderFrameHostImpl::ForwardGetInterfaceToRenderFrame( |
3789 const std::string& interface_name, | 3789 const std::string& interface_name, |
3790 mojo::ScopedMessagePipeHandle pipe) { | 3790 mojo::ScopedMessagePipeHandle pipe) { |
3791 GetRemoteInterfaces()->GetInterface(interface_name, std::move(pipe)); | 3791 GetRemoteInterfaces()->GetInterface(interface_name, std::move(pipe)); |
3792 } | 3792 } |
3793 #endif | 3793 #endif |
3794 | 3794 |
3795 } // namespace content | 3795 } // namespace content |
OLD | NEW |