| 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_url) 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 bool isLowEndDeviceMode() override; | 88 bool isLowEndDeviceMode() override; |
| 88 size_t numberOfProcessors() override; | 89 size_t numberOfProcessors() override; |
| 89 | 90 |
| 90 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( | 91 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( |
| 91 size_t bytes) override; | 92 size_t bytes) override; |
| 92 size_t maxDecodedImageBytes() override; | 93 size_t maxDecodedImageBytes() override; |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 scoped_refptr<PushDispatcher> push_dispatcher_; | 226 scoped_refptr<PushDispatcher> push_dispatcher_; |
| 226 scoped_ptr<PermissionDispatcher> permission_client_; | 227 scoped_ptr<PermissionDispatcher> permission_client_; |
| 227 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 228 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
| 228 | 229 |
| 229 scheduler::WebThreadBase* compositor_thread_; | 230 scheduler::WebThreadBase* compositor_thread_; |
| 230 }; | 231 }; |
| 231 | 232 |
| 232 } // namespace content | 233 } // namespace content |
| 233 | 234 |
| 234 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 235 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |