Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1937)

Side by Side Diff: content/renderer/pepper/pepper_plugin_delegate_impl.h

Issue 9693024: Add the PPAPI X509 Certificate interface and implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 28 matching lines...) Expand all
39 39
40 namespace gfx { 40 namespace gfx {
41 class Point; 41 class Point;
42 class Rect; 42 class Rect;
43 } 43 }
44 44
45 namespace IPC { 45 namespace IPC {
46 struct ChannelHandle; 46 struct ChannelHandle;
47 } 47 }
48 48
49 namespace ppapi {
50 class PPB_X509Certificate_Fields;
51 }
52
49 namespace webkit { 53 namespace webkit {
50 struct WebPluginInfo; 54 struct WebPluginInfo;
51 namespace ppapi { 55 namespace ppapi {
52 class PepperFilePath; 56 class PepperFilePath;
53 class PluginInstance; 57 class PluginInstance;
54 class PluginModule; 58 class PluginModule;
55 } 59 }
56 } 60 }
57 61
58 namespace WebKit { 62 namespace WebKit {
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 const PP_NetAddress_Private& addr) OVERRIDE; 297 const PP_NetAddress_Private& addr) OVERRIDE;
294 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE; 298 virtual void UDPSocketClose(uint32 socket_id) OVERRIDE;
295 virtual void TCPServerSocketListen( 299 virtual void TCPServerSocketListen(
296 webkit::ppapi::PPB_TCPServerSocket_Private_Impl* socket, 300 webkit::ppapi::PPB_TCPServerSocket_Private_Impl* socket,
297 uint32 temp_socket_id, 301 uint32 temp_socket_id,
298 const PP_NetAddress_Private& addr, 302 const PP_NetAddress_Private& addr,
299 int32_t backlog) OVERRIDE; 303 int32_t backlog) OVERRIDE;
300 virtual void TCPServerSocketAccept(uint32 real_socket_id) OVERRIDE; 304 virtual void TCPServerSocketAccept(uint32 real_socket_id) OVERRIDE;
301 virtual void TCPServerSocketStopListening(uint32 real_socket_id, 305 virtual void TCPServerSocketStopListening(uint32 real_socket_id,
302 uint32 temp_socket_id) OVERRIDE; 306 uint32 temp_socket_id) OVERRIDE;
307 virtual bool X509CertificateParseDER(
308 const std::vector<char>& der,
309 ppapi::PPB_X509Certificate_Fields* fields) OVERRIDE;
303 310
304 virtual bool AddNetworkListObserver( 311 virtual bool AddNetworkListObserver(
305 webkit_glue::NetworkListObserver* observer) OVERRIDE; 312 webkit_glue::NetworkListObserver* observer) OVERRIDE;
306 virtual void RemoveNetworkListObserver( 313 virtual void RemoveNetworkListObserver(
307 webkit_glue::NetworkListObserver* observer) OVERRIDE; 314 webkit_glue::NetworkListObserver* observer) OVERRIDE;
308 315
309 virtual int32_t ShowContextMenu( 316 virtual int32_t ShowContextMenu(
310 webkit::ppapi::PluginInstance* instance, 317 webkit::ppapi::PluginInstance* instance,
311 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 318 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
312 const gfx::Point& position) OVERRIDE; 319 const gfx::Point& position) OVERRIDE;
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
471 478
472 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 479 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
473 480
474 scoped_ptr<PepperDeviceEnumerationEventHandler> 481 scoped_ptr<PepperDeviceEnumerationEventHandler>
475 device_enumeration_event_handler_; 482 device_enumeration_event_handler_;
476 483
477 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 484 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
478 }; 485 };
479 486
480 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 487 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698