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_webkitplatformsupport_impl.h" | 5 #include "content/ppapi_plugin/ppapi_webkitplatformsupport_impl.h" |
6 | 6 |
7 #include <map> | 7 #include <map> |
8 | 8 |
9 #include "base/synchronization/lock.h" | 9 #include "base/synchronization/lock.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "build/build_config.h" | 12 #include "build/build_config.h" |
13 #include "content/common/child_process_messages.h" | 13 #include "content/common/child_process_messages.h" |
14 #include "content/common/child_thread.h" | 14 #include "content/common/child_thread.h" |
15 #include "ppapi/proxy/plugin_globals.h" | 15 #include "ppapi/proxy/plugin_globals.h" |
16 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 16 #include "third_party/WebKit/Source/Platform/chromium/public/WebString.h" |
17 | 17 |
18 #if defined(OS_WIN) | 18 #if defined(OS_WIN) |
19 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/win/WebSandb
oxSupport.h" | 19 #include "third_party/WebKit/Source/Platform/chromium/public/win/WebSandboxSuppo
rt.h" |
20 #elif defined(OS_MACOSX) | 20 #elif defined(OS_MACOSX) |
21 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/mac/WebSandb
oxSupport.h" | 21 #include "third_party/WebKit/Source/Platform/chromium/public/mac/WebSandboxSuppo
rt.h" |
22 #elif defined(OS_POSIX) | 22 #elif defined(OS_POSIX) |
23 #if !defined(OS_ANDROID) | 23 #if !defined(OS_ANDROID) |
24 #include "content/common/child_process_sandbox_support_impl_linux.h" | 24 #include "content/common/child_process_sandbox_support_impl_linux.h" |
25 #endif | 25 #endif |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/linux/WebFon
tFamily.h" | 26 #include "third_party/WebKit/Source/Platform/chromium/public/linux/WebFontFamily
.h" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/linux/WebSan
dboxSupport.h" | 27 #include "third_party/WebKit/Source/Platform/chromium/public/linux/WebSandboxSup
port.h" |
28 | 28 |
29 #endif | 29 #endif |
30 | 30 |
31 using WebKit::WebSandboxSupport; | 31 using WebKit::WebSandboxSupport; |
32 using WebKit::WebString; | 32 using WebKit::WebString; |
33 using WebKit::WebUChar; | 33 using WebKit::WebUChar; |
34 | 34 |
35 typedef struct CGFont* CGFontRef; | 35 typedef struct CGFont* CGFontRef; |
36 | 36 |
37 namespace content { | 37 namespace content { |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
253 NOTREACHED(); | 253 NOTREACHED(); |
254 } | 254 } |
255 | 255 |
256 int PpapiWebKitPlatformSupportImpl::databaseDeleteFile( | 256 int PpapiWebKitPlatformSupportImpl::databaseDeleteFile( |
257 const WebKit::WebString& vfs_file_name, bool sync_dir) { | 257 const WebKit::WebString& vfs_file_name, bool sync_dir) { |
258 NOTREACHED(); | 258 NOTREACHED(); |
259 return 0; | 259 return 0; |
260 } | 260 } |
261 | 261 |
262 } // namespace content | 262 } // namespace content |
OLD | NEW |