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 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <set> | 10 #include <set> |
(...skipping 11 matching lines...) Expand all Loading... |
22 #endif | 22 #endif |
23 | 23 |
24 struct FrameHostMsg_CreateChildFrame_Params; | 24 struct FrameHostMsg_CreateChildFrame_Params; |
25 class GURL; | 25 class GURL; |
26 | 26 |
27 namespace net { | 27 namespace net { |
28 class URLRequestContext; | 28 class URLRequestContext; |
29 class URLRequestContextGetter; | 29 class URLRequestContextGetter; |
30 } | 30 } |
31 | 31 |
| 32 namespace url { |
| 33 class Origin; |
| 34 } |
| 35 |
32 namespace content { | 36 namespace content { |
33 class BrowserContext; | 37 class BrowserContext; |
34 class PluginServiceImpl; | 38 class PluginServiceImpl; |
35 struct Referrer; | 39 struct Referrer; |
36 class RenderWidgetHelper; | 40 class RenderWidgetHelper; |
37 class ResourceContext; | 41 class ResourceContext; |
38 struct WebPluginInfo; | 42 struct WebPluginInfo; |
39 | 43 |
40 // RenderFrameMessageFilter intercepts FrameHost messages on the IO thread | 44 // RenderFrameMessageFilter intercepts FrameHost messages on the IO thread |
41 // that require low-latency processing. The canonical example of this is | 45 // that require low-latency processing. The canonical example of this is |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 | 125 |
122 #if defined(ENABLE_PLUGINS) | 126 #if defined(ENABLE_PLUGINS) |
123 void OnGetPlugins(bool refresh, | 127 void OnGetPlugins(bool refresh, |
124 const url::Origin& main_frame_origin, | 128 const url::Origin& main_frame_origin, |
125 IPC::Message* reply_msg); | 129 IPC::Message* reply_msg); |
126 void GetPluginsCallback(IPC::Message* reply_msg, | 130 void GetPluginsCallback(IPC::Message* reply_msg, |
127 const url::Origin& main_frame_origin, | 131 const url::Origin& main_frame_origin, |
128 const std::vector<WebPluginInfo>& plugins); | 132 const std::vector<WebPluginInfo>& plugins); |
129 void OnGetPluginInfo(int render_frame_id, | 133 void OnGetPluginInfo(int render_frame_id, |
130 const GURL& url, | 134 const GURL& url, |
131 const GURL& policy_url, | 135 const url::Origin& policy_url, |
132 const std::string& mime_type, | 136 const std::string& mime_type, |
133 bool* found, | 137 bool* found, |
134 WebPluginInfo* info, | 138 WebPluginInfo* info, |
135 std::string* actual_mime_type); | 139 std::string* actual_mime_type); |
136 void OnOpenChannelToPepperPlugin(const base::FilePath& path, | 140 void OnOpenChannelToPepperPlugin(const base::FilePath& path, |
137 IPC::Message* reply_msg); | 141 IPC::Message* reply_msg); |
138 void OnDidCreateOutOfProcessPepperInstance( | 142 void OnDidCreateOutOfProcessPepperInstance( |
139 int plugin_child_id, | 143 int plugin_child_id, |
140 int32_t pp_instance, | 144 int32_t pp_instance, |
141 PepperRendererInstanceData instance_data, | 145 PepperRendererInstanceData instance_data, |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 | 178 |
175 // Whether this process is used for incognito contents. | 179 // Whether this process is used for incognito contents. |
176 bool incognito_; | 180 bool incognito_; |
177 | 181 |
178 const int render_process_id_; | 182 const int render_process_id_; |
179 }; | 183 }; |
180 | 184 |
181 } // namespace content | 185 } // namespace content |
182 | 186 |
183 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ | 187 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ |
OLD | NEW |