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 #include "content/ppapi_plugin/ppapi_blink_platform_impl.h" | 5 #include "content/ppapi_plugin/ppapi_blink_platform_impl.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include <map> | 9 #include <map> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "base/threading/platform_thread.h" | 13 #include "base/threading/platform_thread.h" |
14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
15 #include "content/child/child_thread_impl.h" | 15 #include "content/child/child_thread_impl.h" |
16 #include "content/common/child_process_messages.h" | 16 #include "content/common/child_process_messages.h" |
17 #include "ppapi/proxy/plugin_globals.h" | 17 #include "ppapi/proxy/plugin_globals.h" |
18 #include "ppapi/shared_impl/proxy_lock.h" | 18 #include "ppapi/shared_impl/proxy_lock.h" |
| 19 #include "third_party/WebKit/public/platform/WebStorageNamespace.h" |
19 #include "third_party/WebKit/public/platform/WebString.h" | 20 #include "third_party/WebKit/public/platform/WebString.h" |
20 | 21 |
21 #if defined(OS_MACOSX) | 22 #if defined(OS_MACOSX) |
22 #include "third_party/WebKit/public/platform/mac/WebSandboxSupport.h" | 23 #include "third_party/WebKit/public/platform/mac/WebSandboxSupport.h" |
23 #elif defined(OS_POSIX) && !defined(OS_ANDROID) | 24 #elif defined(OS_POSIX) && !defined(OS_ANDROID) |
24 #include "content/child/child_process_sandbox_support_impl_linux.h" | 25 #include "content/child/child_process_sandbox_support_impl_linux.h" |
25 #include "third_party/WebKit/public/platform/linux/WebFallbackFont.h" | 26 #include "third_party/WebKit/public/platform/linux/WebFallbackFont.h" |
26 #include "third_party/WebKit/public/platform/linux/WebSandboxSupport.h" | 27 #include "third_party/WebKit/public/platform/linux/WebSandboxSupport.h" |
27 #include "third_party/icu/source/common/unicode/utf16.h" | 28 #include "third_party/icu/source/common/unicode/utf16.h" |
28 #endif | 29 #endif |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 const blink::WebSecurityOrigin& mainFrameOrigin, | 216 const blink::WebSecurityOrigin& mainFrameOrigin, |
216 blink::WebPluginListBuilder* builder) { | 217 blink::WebPluginListBuilder* builder) { |
217 NOTREACHED(); | 218 NOTREACHED(); |
218 } | 219 } |
219 | 220 |
220 blink::WebData PpapiBlinkPlatformImpl::LoadResource(const char* name) { | 221 blink::WebData PpapiBlinkPlatformImpl::LoadResource(const char* name) { |
221 NOTREACHED(); | 222 NOTREACHED(); |
222 return blink::WebData(); | 223 return blink::WebData(); |
223 } | 224 } |
224 | 225 |
225 blink::WebStorageNamespace* | 226 std::unique_ptr<blink::WebStorageNamespace> |
226 PpapiBlinkPlatformImpl::CreateLocalStorageNamespace() { | 227 PpapiBlinkPlatformImpl::CreateLocalStorageNamespace() { |
227 NOTREACHED(); | 228 NOTREACHED(); |
228 return 0; | 229 return nullptr; |
229 } | 230 } |
230 | 231 |
231 void PpapiBlinkPlatformImpl::dispatchStorageEvent( | 232 void PpapiBlinkPlatformImpl::dispatchStorageEvent( |
232 const blink::WebString& key, | 233 const blink::WebString& key, |
233 const blink::WebString& old_value, | 234 const blink::WebString& old_value, |
234 const blink::WebString& new_value, | 235 const blink::WebString& new_value, |
235 const blink::WebString& origin, | 236 const blink::WebString& origin, |
236 const blink::WebURL& url, | 237 const blink::WebURL& url, |
237 bool is_local_storage) { | 238 bool is_local_storage) { |
238 NOTREACHED(); | 239 NOTREACHED(); |
239 } | 240 } |
240 | 241 |
241 int PpapiBlinkPlatformImpl::DatabaseDeleteFile( | 242 int PpapiBlinkPlatformImpl::DatabaseDeleteFile( |
242 const blink::WebString& vfs_file_name, | 243 const blink::WebString& vfs_file_name, |
243 bool sync_dir) { | 244 bool sync_dir) { |
244 NOTREACHED(); | 245 NOTREACHED(); |
245 return 0; | 246 return 0; |
246 } | 247 } |
247 | 248 |
248 } // namespace content | 249 } // namespace content |
OLD | NEW |