OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHILD_BLINK_PLATFORM_IMPL_H_ | 5 #ifndef CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 6 #define CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/threading/thread_local_storage.h" | 9 #include "base/threading/thread_local_storage.h" |
10 #include "base/timer/timer.h" | 10 #include "base/timer/timer.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine(); | 54 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine(); |
55 virtual blink::Platform::FileHandle databaseOpenFile( | 55 virtual blink::Platform::FileHandle databaseOpenFile( |
56 const blink::WebString& vfs_file_name, int desired_flags); | 56 const blink::WebString& vfs_file_name, int desired_flags); |
57 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, | 57 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, |
58 bool sync_dir); | 58 bool sync_dir); |
59 virtual long databaseGetFileAttributes( | 59 virtual long databaseGetFileAttributes( |
60 const blink::WebString& vfs_file_name); | 60 const blink::WebString& vfs_file_name); |
61 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name); | 61 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name); |
62 virtual long long databaseGetSpaceAvailableForOrigin( | 62 virtual long long databaseGetSpaceAvailableForOrigin( |
63 const blink::WebString& origin_identifier); | 63 const blink::WebString& origin_identifier); |
| 64 virtual bool databaseSetFileSize( |
| 65 const blink::WebString& vfs_file_name, long long size); |
64 virtual blink::WebString signedPublicKeyAndChallengeString( | 66 virtual blink::WebString signedPublicKeyAndChallengeString( |
65 unsigned key_size_index, const blink::WebString& challenge, | 67 unsigned key_size_index, const blink::WebString& challenge, |
66 const blink::WebURL& url); | 68 const blink::WebURL& url); |
67 virtual size_t memoryUsageMB(); | 69 virtual size_t memoryUsageMB(); |
68 virtual size_t actualMemoryUsageMB(); | 70 virtual size_t actualMemoryUsageMB(); |
69 virtual size_t physicalMemoryMB(); | 71 virtual size_t physicalMemoryMB(); |
70 virtual size_t virtualMemoryLimitMB(); | 72 virtual size_t virtualMemoryLimitMB(); |
71 virtual size_t numberOfProcessors(); | 73 virtual size_t numberOfProcessors(); |
72 | 74 |
73 virtual bool processMemorySizesInBytes(size_t* private_bytes, | 75 virtual bool processMemorySizesInBytes(size_t* private_bytes, |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 199 |
198 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 200 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
199 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 201 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
200 scoped_refptr<PushDispatcher> push_dispatcher_; | 202 scoped_refptr<PushDispatcher> push_dispatcher_; |
201 scoped_ptr<PermissionDispatcher> permission_client_; | 203 scoped_ptr<PermissionDispatcher> permission_client_; |
202 }; | 204 }; |
203 | 205 |
204 } // namespace content | 206 } // namespace content |
205 | 207 |
206 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 208 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |