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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 long databaseGetFileAttributes( | 72 long databaseGetFileAttributes( |
73 const blink::WebString& vfs_file_name) override; | 73 const blink::WebString& vfs_file_name) override; |
74 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; | 74 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; |
75 long long databaseGetSpaceAvailableForOrigin( | 75 long long databaseGetSpaceAvailableForOrigin( |
76 const blink::WebString& origin_identifier) override; | 76 const blink::WebString& origin_identifier) override; |
77 bool databaseSetFileSize(const blink::WebString& vfs_file_name, | 77 bool databaseSetFileSize(const blink::WebString& vfs_file_name, |
78 long long size) override; | 78 long long size) override; |
79 blink::WebString signedPublicKeyAndChallengeString( | 79 blink::WebString signedPublicKeyAndChallengeString( |
80 unsigned key_size_index, | 80 unsigned key_size_index, |
81 const blink::WebString& challenge, | 81 const blink::WebString& challenge, |
82 const blink::WebURL& url) override; | 82 const blink::WebURL& url, |
| 83 const blink::WebURL& top_origin) override; |
83 size_t memoryUsageMB() override; | 84 size_t memoryUsageMB() override; |
84 size_t actualMemoryUsageMB() override; | 85 size_t actualMemoryUsageMB() override; |
85 size_t physicalMemoryMB() override; | 86 size_t physicalMemoryMB() override; |
86 size_t virtualMemoryLimitMB() override; | 87 size_t virtualMemoryLimitMB() override; |
87 size_t numberOfProcessors() override; | 88 size_t numberOfProcessors() override; |
88 | 89 |
89 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( | 90 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( |
90 size_t bytes) override; | 91 size_t bytes) override; |
91 size_t maxDecodedImageBytes() override; | 92 size_t maxDecodedImageBytes() override; |
92 uint32_t getUniqueIdForProcess() override; | 93 uint32_t getUniqueIdForProcess() override; |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 scoped_refptr<PushDispatcher> push_dispatcher_; | 225 scoped_refptr<PushDispatcher> push_dispatcher_; |
225 scoped_ptr<PermissionDispatcher> permission_client_; | 226 scoped_ptr<PermissionDispatcher> permission_client_; |
226 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 227 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
227 | 228 |
228 scheduler::WebThreadBase* compositor_thread_; | 229 scheduler::WebThreadBase* compositor_thread_; |
229 }; | 230 }; |
230 | 231 |
231 } // namespace content | 232 } // namespace content |
232 | 233 |
233 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 234 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |