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

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 30 matching lines...) Expand all
41 41
42 namespace gfx { 42 namespace gfx {
43 class Point; 43 class Point;
44 class Rect; 44 class Rect;
45 } 45 }
46 46
47 namespace IPC { 47 namespace IPC {
48 struct ChannelHandle; 48 struct ChannelHandle;
49 } 49 }
50 50
51 namespace ppapi {
52 class PPB_X509Certificate_Fields;
53 }
54
51 namespace ui { 55 namespace ui {
52 class Range; 56 class Range;
53 } 57 }
54 58
55 namespace webkit { 59 namespace webkit {
56 struct WebPluginInfo; 60 struct WebPluginInfo;
57 namespace ppapi { 61 namespace ppapi {
58 class PepperFilePath; 62 class PepperFilePath;
59 class PluginInstance; 63 class PluginInstance;
60 class PluginModule; 64 class PluginModule;
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 317
314 virtual void RegisterHostResolver( 318 virtual void RegisterHostResolver(
315 ppapi::PPB_HostResolver_Shared* host_resolver, 319 ppapi::PPB_HostResolver_Shared* host_resolver,
316 uint32 host_resolver_id) OVERRIDE; 320 uint32 host_resolver_id) OVERRIDE;
317 virtual void HostResolverResolve( 321 virtual void HostResolverResolve(
318 uint32 host_resolver_id, 322 uint32 host_resolver_id,
319 const ::ppapi::HostPortPair& host_port, 323 const ::ppapi::HostPortPair& host_port,
320 const PP_HostResolver_Private_Hint* hint) OVERRIDE; 324 const PP_HostResolver_Private_Hint* hint) OVERRIDE;
321 virtual void UnregisterHostResolver(uint32 host_resolver_id) OVERRIDE; 325 virtual void UnregisterHostResolver(uint32 host_resolver_id) OVERRIDE;
322 326
327 virtual bool X509CertificateParseDER(
328 const std::vector<char>& der,
329 ppapi::PPB_X509Certificate_Fields* fields) OVERRIDE;
330
323 virtual bool AddNetworkListObserver( 331 virtual bool AddNetworkListObserver(
324 webkit_glue::NetworkListObserver* observer) OVERRIDE; 332 webkit_glue::NetworkListObserver* observer) OVERRIDE;
325 virtual void RemoveNetworkListObserver( 333 virtual void RemoveNetworkListObserver(
326 webkit_glue::NetworkListObserver* observer) OVERRIDE; 334 webkit_glue::NetworkListObserver* observer) OVERRIDE;
327 335
328 virtual int32_t ShowContextMenu( 336 virtual int32_t ShowContextMenu(
329 webkit::ppapi::PluginInstance* instance, 337 webkit::ppapi::PluginInstance* instance,
330 webkit::ppapi::PPB_Flash_Menu_Impl* menu, 338 webkit::ppapi::PPB_Flash_Menu_Impl* menu,
331 const gfx::Point& position) OVERRIDE; 339 const gfx::Point& position) OVERRIDE;
332 void OnContextMenuClosed( 340 void OnContextMenuClosed(
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
494 502
495 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_; 503 scoped_ptr<content::GamepadSharedMemoryReader> gamepad_shared_memory_reader_;
496 504
497 scoped_ptr<PepperDeviceEnumerationEventHandler> 505 scoped_ptr<PepperDeviceEnumerationEventHandler>
498 device_enumeration_event_handler_; 506 device_enumeration_event_handler_;
499 507
500 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); 508 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl);
501 }; 509 };
502 510
503 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ 511 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698