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