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

Side by Side Diff: webkit/plugins/ppapi/ppb_x509_certificate_private_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, 8 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_
7
8 #include "base/compiler_specific.h"
9 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h"
10 #include "ppapi/shared_impl/resource.h"
11
12 namespace ppapi {
13 class PPB_X509Certificate_Fields;
14 }
15
16 namespace webkit {
17 namespace ppapi {
18
19 class PPB_X509Certificate_Private_Impl :
20 public ::ppapi::PPB_X509Certificate_Private_Shared {
21 public:
22 static PP_Resource CreateResource(PP_Instance instance);
23 PPB_X509Certificate_Private_Impl(PP_Instance instance);
viettrungluu 2012/03/27 17:10:57 Nit: I think constructors are supposed to go first
raymes 2012/03/27 17:40:23 Done.
24 virtual bool ParseDER(const std::vector<char>& der,
25 ::ppapi::PPB_X509Certificate_Fields* result) OVERRIDE;
26
27 private:
28 virtual ~PPB_X509Certificate_Private_Impl();
29
30 DISALLOW_COPY_AND_ASSIGN(PPB_X509Certificate_Private_Impl);
viettrungluu 2012/03/27 17:10:57 DISALLOW_IMPLICIT_CONSTRUCTORS? Also, you should
raymes 2012/03/27 17:40:23 Done.
31 };
32
33 } // namespace ppapi
34 } // namespace webkit
35
36 #endif // WEBKIT_PLUGINS_PPAPI_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698