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 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_MESSAGE_FILTER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_MESSAGE_FILTER_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_MESSAGE_FILTER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_MESSAGE_FILTER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 void DoHostResolverResolve(int32 routing_id, | 226 void DoHostResolverResolve(int32 routing_id, |
227 uint32 plugin_dispatcher_id, | 227 uint32 plugin_dispatcher_id, |
228 uint32 host_resolver_id, | 228 uint32 host_resolver_id, |
229 const ppapi::HostPortPair& host_port, | 229 const ppapi::HostPortPair& host_port, |
230 const PP_HostResolver_Private_Hint& hint); | 230 const PP_HostResolver_Private_Hint& hint); |
231 | 231 |
232 void OnX509CertificateParseDER(const std::vector<char>& der, | 232 void OnX509CertificateParseDER(const std::vector<char>& der, |
233 bool* succeeded, | 233 bool* succeeded, |
234 ppapi::PPB_X509Certificate_Fields* result); | 234 ppapi::PPB_X509Certificate_Fields* result); |
235 void OnUpdateActivity(); | 235 void OnUpdateActivity(); |
236 void OnGetLocalDataRestrictions(const GURL& document_url, | |
237 const GURL& plugin_url, | |
238 PP_FlashLSORestrictions* restrictions); | |
239 | 236 |
240 // Callback when the font list has been retrieved on a background thread. | 237 // Callback when the font list has been retrieved on a background thread. |
241 void GetFontFamiliesComplete(IPC::Message* reply_msg, | 238 void GetFontFamiliesComplete(IPC::Message* reply_msg, |
242 scoped_ptr<base::ListValue> result); | 239 scoped_ptr<base::ListValue> result); |
243 | 240 |
244 uint32 GenerateSocketID(); | 241 uint32 GenerateSocketID(); |
245 | 242 |
246 // Return true if render with given ID can use socket APIs. | 243 // Return true if render with given ID can use socket APIs. |
247 bool CanUseSocketAPIs(int32 render_id, | 244 bool CanUseSocketAPIs(int32 render_id, |
248 const content::SocketPermissionRequest& params); | 245 const content::SocketPermissionRequest& params); |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 | 291 |
295 FilePath browser_path_; | 292 FilePath browser_path_; |
296 bool incognito_; | 293 bool incognito_; |
297 | 294 |
298 DISALLOW_COPY_AND_ASSIGN(PepperMessageFilter); | 295 DISALLOW_COPY_AND_ASSIGN(PepperMessageFilter); |
299 }; | 296 }; |
300 | 297 |
301 } // namespace content | 298 } // namespace content |
302 | 299 |
303 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_MESSAGE_FILTER_H_ | 300 #endif // CONTENT_BROWSER_RENDERER_HOST_PEPPER_PEPPER_MESSAGE_FILTER_H_ |
OLD | NEW |