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 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 void OnRenderProcessGone(); | 118 void OnRenderProcessGone(); |
119 | 119 |
120 // mojom::RenderFrameMessageFilter: | 120 // mojom::RenderFrameMessageFilter: |
121 void SetCookie(int32_t render_frame_id, | 121 void SetCookie(int32_t render_frame_id, |
122 const GURL& url, | 122 const GURL& url, |
123 const GURL& first_party_for_cookies, | 123 const GURL& first_party_for_cookies, |
124 const mojo::String& cookie) override; | 124 const mojo::String& cookie) override; |
125 | 125 |
126 | 126 |
127 #if defined(ENABLE_PLUGINS) | 127 #if defined(ENABLE_PLUGINS) |
128 void OnGetPlugins(bool refresh, IPC::Message* reply_msg); | 128 void OnGetPlugins(bool refresh, |
| 129 const url::Origin& main_frame_origin, |
| 130 IPC::Message* reply_msg); |
129 void GetPluginsCallback(IPC::Message* reply_msg, | 131 void GetPluginsCallback(IPC::Message* reply_msg, |
| 132 const url::Origin& main_frame_origin, |
130 const std::vector<WebPluginInfo>& plugins); | 133 const std::vector<WebPluginInfo>& plugins); |
131 void OnGetPluginInfo(int render_frame_id, | 134 void OnGetPluginInfo(int render_frame_id, |
132 const GURL& url, | 135 const GURL& url, |
133 const GURL& policy_url, | 136 const GURL& policy_url, |
134 const std::string& mime_type, | 137 const std::string& mime_type, |
135 bool* found, | 138 bool* found, |
136 WebPluginInfo* info, | 139 WebPluginInfo* info, |
137 std::string* actual_mime_type); | 140 std::string* actual_mime_type); |
138 void OnOpenChannelToPepperPlugin(const base::FilePath& path, | 141 void OnOpenChannelToPepperPlugin(const base::FilePath& path, |
139 IPC::Message* reply_msg); | 142 IPC::Message* reply_msg); |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 | 179 |
177 // Whether this process is used for incognito contents. | 180 // Whether this process is used for incognito contents. |
178 bool incognito_; | 181 bool incognito_; |
179 | 182 |
180 const int render_process_id_; | 183 const int render_process_id_; |
181 }; | 184 }; |
182 | 185 |
183 } // namespace content | 186 } // namespace content |
184 | 187 |
185 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ | 188 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_MESSAGE_FILTER_H_ |
OLD | NEW |