diff options
Diffstat (limited to 'content/renderer')
3 files changed, 1 insertions, 72 deletions
diff --git a/content/renderer/pepper/ppb_x509_certificate_private_impl.cc b/content/renderer/pepper/ppb_x509_certificate_private_impl.cc deleted file mode 100644 index c580e71..0000000 --- a/content/renderer/pepper/ppb_x509_certificate_private_impl.cc +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#include "content/renderer/pepper/ppb_x509_certificate_private_impl.h" - -#include "content/renderer/render_thread_impl.h" -#include "ppapi/proxy/ppapi_messages.h" - -namespace content { - -PPB_X509Certificate_Private_Impl::PPB_X509Certificate_Private_Impl( - PP_Instance instance) : - PPB_X509Certificate_Private_Shared(ppapi::OBJECT_IS_IMPL, instance) { -} - -// static -PP_Resource PPB_X509Certificate_Private_Impl::CreateResource( - PP_Instance instance) { - return (new PPB_X509Certificate_Private_Impl(instance))->GetReference(); -} - -bool PPB_X509Certificate_Private_Impl::ParseDER( - const std::vector<char>& der, - ppapi::PPB_X509Certificate_Fields* result) { - bool succeeded = false; - RenderThreadImpl::current()->Send( - new PpapiHostMsg_PPBX509Certificate_ParseDER(der, &succeeded, result)); - return succeeded; -} - -PPB_X509Certificate_Private_Impl::~PPB_X509Certificate_Private_Impl() { -} - -} // namespace content diff --git a/content/renderer/pepper/ppb_x509_certificate_private_impl.h b/content/renderer/pepper/ppb_x509_certificate_private_impl.h deleted file mode 100644 index 0f10ec0..0000000 --- a/content/renderer/pepper/ppb_x509_certificate_private_impl.h +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright (c) 2012 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CONTENT_RENDERER_PEPPER_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ -#define CONTENT_RENDERER_PEPPER_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ - -#include "base/basictypes.h" -#include "base/compiler_specific.h" -#include "ppapi/shared_impl/private/ppb_x509_certificate_private_shared.h" -#include "ppapi/shared_impl/resource.h" - -namespace ppapi { -class PPB_X509Certificate_Fields; -} - -namespace content { - -class PPB_X509Certificate_Private_Impl : - public ppapi::PPB_X509Certificate_Private_Shared { - public: - PPB_X509Certificate_Private_Impl(PP_Instance instance); - static PP_Resource CreateResource(PP_Instance instance); - virtual bool ParseDER(const std::vector<char>& der, - ppapi::PPB_X509Certificate_Fields* result) OVERRIDE; - - private: - virtual ~PPB_X509Certificate_Private_Impl(); - - DISALLOW_COPY_AND_ASSIGN(PPB_X509Certificate_Private_Impl); -}; - -} // namespace content - -#endif // CONTENT_RENDERER_PEPPER_PPB_X509_CERTIFICATE_PRIVATE_IMPL_H_ diff --git a/content/renderer/pepper/resource_creation_impl.cc b/content/renderer/pepper/resource_creation_impl.cc index 3f25b2a..f554e410 100644 --- a/content/renderer/pepper/resource_creation_impl.cc +++ b/content/renderer/pepper/resource_creation_impl.cc @@ -14,7 +14,6 @@ #include "content/renderer/pepper/ppb_image_data_impl.h" #include "content/renderer/pepper/ppb_scrollbar_impl.h" #include "content/renderer/pepper/ppb_video_decoder_impl.h" -#include "content/renderer/pepper/ppb_x509_certificate_private_impl.h" #include "ppapi/c/pp_size.h" #include "ppapi/shared_impl/ppb_audio_config_shared.h" #include "ppapi/shared_impl/ppb_image_data_shared.h" @@ -297,7 +296,7 @@ PP_Resource ResourceCreationImpl::CreateWheelInputEvent( PP_Resource ResourceCreationImpl::CreateX509CertificatePrivate( PP_Instance instance) { - return PPB_X509Certificate_Private_Impl::CreateResource(instance); + return 0; // Not supported in-process. } } // namespace content |