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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/child/blink_platform_impl.h" | 10 #include "content/child/blink_platform_impl.h" |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 virtual blink::WebData loadResource(const char* name); | 43 virtual blink::WebData loadResource(const char* name); |
44 virtual blink::WebStorageNamespace* createLocalStorageNamespace(); | 44 virtual blink::WebStorageNamespace* createLocalStorageNamespace(); |
45 virtual void dispatchStorageEvent(const blink::WebString& key, | 45 virtual void dispatchStorageEvent(const blink::WebString& key, |
46 const blink::WebString& oldValue, const blink::WebString& newValue, | 46 const blink::WebString& oldValue, const blink::WebString& newValue, |
47 const blink::WebString& origin, const blink::WebURL& url, | 47 const blink::WebString& origin, const blink::WebURL& url, |
48 bool isLocalStorage); | 48 bool isLocalStorage); |
49 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, | 49 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, |
50 bool sync_dir); | 50 bool sync_dir); |
51 | 51 |
52 private: | 52 private: |
| 53 #if !defined(OS_ANDROID) && !defined(OS_WIN) |
53 class SandboxSupport; | 54 class SandboxSupport; |
54 scoped_ptr<SandboxSupport> sandbox_support_; | 55 scoped_ptr<SandboxSupport> sandbox_support_; |
| 56 #endif |
55 | 57 |
56 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); | 58 DISALLOW_COPY_AND_ASSIGN(PpapiBlinkPlatformImpl); |
57 }; | 59 }; |
58 | 60 |
59 } // namespace content | 61 } // namespace content |
60 | 62 |
61 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ | 63 #endif // CONTENT_PPAPI_PLUGIN_PPAPI_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |