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

Side by Side Diff: ppapi/proxy/ppb_x509_certificate_private_proxy.cc

Issue 1097393007: Update {virtual,override} to follow C++11 style in ppapi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Split off one file into separate review. Created 5 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
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 #include "ppapi/proxy/ppb_x509_certificate_private_proxy.h" 5 #include "ppapi/proxy/ppb_x509_certificate_private_proxy.h"
6 6
7 #include "ppapi/c/private/ppb_x509_certificate_private.h" 7 #include "ppapi/c/private/ppb_x509_certificate_private.h"
8 #include "ppapi/proxy/plugin_globals.h" 8 #include "ppapi/proxy/plugin_globals.h"
9 #include "ppapi/proxy/ppapi_messages.h" 9 #include "ppapi/proxy/ppapi_messages.h"
10 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" 10 #include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h"
11 11
12 namespace ppapi { 12 namespace ppapi {
13 namespace proxy { 13 namespace proxy {
14 14
15 namespace { 15 namespace {
16 16
17 class X509CertificatePrivate : public PPB_X509Certificate_Private_Shared { 17 class X509CertificatePrivate : public PPB_X509Certificate_Private_Shared {
18 public: 18 public:
19 X509CertificatePrivate(PP_Instance instance); 19 X509CertificatePrivate(PP_Instance instance);
20 virtual ~X509CertificatePrivate(); 20 ~X509CertificatePrivate() override;
21 21
22 virtual bool ParseDER(const std::vector<char>& der, 22 bool ParseDER(const std::vector<char>& der,
23 PPB_X509Certificate_Fields* result) override; 23 PPB_X509Certificate_Fields* result) override;
24 24
25 private: 25 private:
26 void SendToBrowser(IPC::Message* msg); 26 void SendToBrowser(IPC::Message* msg);
27 27
28 DISALLOW_COPY_AND_ASSIGN(X509CertificatePrivate); 28 DISALLOW_COPY_AND_ASSIGN(X509CertificatePrivate);
29 }; 29 };
30 30
31 X509CertificatePrivate::X509CertificatePrivate(PP_Instance instance) 31 X509CertificatePrivate::X509CertificatePrivate(PP_Instance instance)
32 : PPB_X509Certificate_Private_Shared(OBJECT_IS_PROXY, instance) { 32 : PPB_X509Certificate_Private_Shared(OBJECT_IS_PROXY, instance) {
33 } 33 }
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 return (new X509CertificatePrivate(instance))->GetReference(); 65 return (new X509CertificatePrivate(instance))->GetReference();
66 } 66 }
67 67
68 bool PPB_X509Certificate_Private_Proxy::OnMessageReceived( 68 bool PPB_X509Certificate_Private_Proxy::OnMessageReceived(
69 const IPC::Message& msg) { 69 const IPC::Message& msg) {
70 return false; 70 return false;
71 } 71 }
72 72
73 } // namespace proxy 73 } // namespace proxy
74 } // namespace ppapi 74 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_x509_certificate_private_proxy.h ('k') | ppapi/proxy/ppp_instance_private_proxy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698