Index: content/renderer/pepper/ppb_buffer_impl.h |
=================================================================== |
--- content/renderer/pepper/ppb_buffer_impl.h (revision 213482) |
+++ content/renderer/pepper/ppb_buffer_impl.h (working copy) |
@@ -2,8 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef WEBKIT_PLUGINS_PPAPI_PPB_BUFFER_IMPL_H_ |
-#define WEBKIT_PLUGINS_PPAPI_PPB_BUFFER_IMPL_H_ |
+#ifndef CONTENT_RENDERER_PEPPER_PPB_BUFFER_IMPL_H_ |
+#define CONTENT_RENDERER_PEPPER_PPB_BUFFER_IMPL_H_ |
#include "base/basictypes.h" |
#include "base/memory/ref_counted.h" |
@@ -11,17 +11,13 @@ |
#include "base/memory/shared_memory.h" |
#include "ppapi/shared_impl/resource.h" |
#include "ppapi/thunk/ppb_buffer_api.h" |
-#include "webkit/plugins/webkit_plugins_export.h" |
namespace webkit { |
namespace ppapi { |
-class WEBKIT_PLUGINS_EXPORT PPB_Buffer_Impl : |
- public ::ppapi::Resource, |
- public ::ppapi::thunk::PPB_Buffer_API { |
+class PPB_Buffer_Impl : public ::ppapi::Resource, |
+ public ::ppapi::thunk::PPB_Buffer_API { |
public: |
- virtual ~PPB_Buffer_Impl(); |
- |
static PP_Resource Create(PP_Instance instance, uint32_t size); |
static scoped_refptr<PPB_Buffer_Impl> CreateResource(PP_Instance instance, |
uint32_t size); |
@@ -44,6 +40,8 @@ |
virtual int32_t GetSharedMemory(int* handle) OVERRIDE; |
private: |
+ virtual ~PPB_Buffer_Impl(); |
+ |
explicit PPB_Buffer_Impl(PP_Instance instance); |
bool Init(uint32_t size); |
@@ -79,4 +77,4 @@ |
} // namespace ppapi |
} // namespace webkit |
-#endif // WEBKIT_PLUGINS_PPAPI_PPB_BUFFER_IMPL_H_ |
+#endif // CONTENT_RENDERER_PEPPER_PPB_BUFFER_IMPL_H_ |