| OLD | NEW |
| 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_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |
| 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |
| 7 | 7 |
| 8 #include <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> |
| 11 |
| 10 #include "base/macros.h" | 12 #include "base/macros.h" |
| 11 #include "base/memory/scoped_ptr.h" | |
| 12 #include "build/build_config.h" | 13 #include "build/build_config.h" |
| 13 #include "content/child/blink_platform_impl.h" | 14 #include "content/child/blink_platform_impl.h" |
| 14 | 15 |
| 15 namespace content { | 16 namespace content { |
| 16 | 17 |
| 17 class PpapiBlinkPlatformImpl : public BlinkPlatformImpl { | 18 class PpapiBlinkPlatformImpl : public BlinkPlatformImpl { |
| 18 public: | 19 public: |
| 19 PpapiBlinkPlatformImpl(); | 20 PpapiBlinkPlatformImpl(); |
| 20 ~PpapiBlinkPlatformImpl() override; | 21 ~PpapiBlinkPlatformImpl() override; |
| 21 | 22 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 49 virtual void dispatchStorageEvent(const blink::WebString& key, | 50 virtual void dispatchStorageEvent(const blink::WebString& key, |
| 50 const blink::WebString& oldValue, const blink::WebString& newValue, | 51 const blink::WebString& oldValue, const blink::WebString& newValue, |
| 51 const blink::WebString& origin, const blink::WebURL& url, | 52 const blink::WebString& origin, const blink::WebURL& url, |
| 52 bool isLocalStorage); | 53 bool isLocalStorage); |
| 53 int databaseDeleteFile(const blink::WebString& vfs_file_name, | 54 int databaseDeleteFile(const blink::WebString& vfs_file_name, |
| 54 bool sync_dir) override; | 55 bool sync_dir) override; |
| 55 | 56 |
| 56 private: | 57 private: |
| 57 #if !defined(OS_ANDROID) && !defined(OS_WIN) | 58 #if !defined(OS_ANDROID) && !defined(OS_WIN) |
| 58 class SandboxSupport; | 59 class SandboxSupport; |
| 59 scoped_ptr<SandboxSupport> sandbox_support_; | 60 std::unique_ptr<SandboxSupport> sandbox_support_; |
| 60 #endif | 61 #endif |
| 61 | 62 |
| 62 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); | 63 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 } // namespace content | 66 } // namespace content |
| 66 | 67 |
| 67 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 68 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |