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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
53 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine(); | 53 virtual blink::WebFallbackThemeEngine* fallbackThemeEngine(); |
54 virtual blink::Platform::FileHandle databaseOpenFile( | 54 virtual blink::Platform::FileHandle databaseOpenFile( |
55 const blink::WebString& vfs_file_name, int desired_flags); | 55 const blink::WebString& vfs_file_name, int desired_flags); |
56 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, | 56 virtual int databaseDeleteFile(const blink::WebString& vfs_file_name, |
57 bool sync_dir); | 57 bool sync_dir); |
58 virtual long databaseGetFileAttributes( | 58 virtual long databaseGetFileAttributes( |
59 const blink::WebString& vfs_file_name); | 59 const blink::WebString& vfs_file_name); |
60 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name); | 60 virtual long long databaseGetFileSize(const blink::WebString& vfs_file_name); |
61 virtual long long databaseGetSpaceAvailableForOrigin( | 61 virtual long long databaseGetSpaceAvailableForOrigin( |
62 const blink::WebString& origin_identifier); | 62 const blink::WebString& origin_identifier); |
63 virtual bool databaseSetFileSize( | |
64 const blink::WebString& vfs_file_name, long long size); | |
michaeln
2015/04/01 21:04:48
i don't understand why this won't compile without
Scott Hess - ex-Googler
2015/04/01 22:42:20
I was pretty sure it was? Unfortunately my blink
Scott Hess - ex-Googler
2015/04/01 23:28:23
Sorry, the error doesn't come here, it's in a subc
| |
63 virtual blink::WebString signedPublicKeyAndChallengeString( | 65 virtual blink::WebString signedPublicKeyAndChallengeString( |
64 unsigned key_size_index, const blink::WebString& challenge, | 66 unsigned key_size_index, const blink::WebString& challenge, |
65 const blink::WebURL& url); | 67 const blink::WebURL& url); |
66 virtual size_t memoryUsageMB(); | 68 virtual size_t memoryUsageMB(); |
67 virtual size_t actualMemoryUsageMB(); | 69 virtual size_t actualMemoryUsageMB(); |
68 virtual size_t physicalMemoryMB(); | 70 virtual size_t physicalMemoryMB(); |
69 virtual size_t virtualMemoryLimitMB(); | 71 virtual size_t virtualMemoryLimitMB(); |
70 virtual size_t numberOfProcessors(); | 72 virtual size_t numberOfProcessors(); |
71 | 73 |
72 virtual bool processMemorySizesInBytes(size_t* private_bytes, | 74 virtual bool processMemorySizesInBytes(size_t* private_bytes, |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
192 scoped_ptr<WebBluetoothImpl> bluetooth_; | 194 scoped_ptr<WebBluetoothImpl> bluetooth_; |
193 | 195 |
194 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 196 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
195 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 197 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
196 scoped_refptr<PushDispatcher> push_dispatcher_; | 198 scoped_refptr<PushDispatcher> push_dispatcher_; |
197 }; | 199 }; |
198 | 200 |
199 } // namespace content | 201 } // namespace content |
200 | 202 |
201 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 203 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |