| 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/containers/scoped_ptr_hash_map.h" | 9 #include "base/containers/scoped_ptr_hash_map.h" |
| 10 #include "base/threading/thread_local_storage.h" | 10 #include "base/threading/thread_local_storage.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 long databaseGetFileAttributes( | 62 long databaseGetFileAttributes( |
| 63 const blink::WebString& vfs_file_name) override; | 63 const blink::WebString& vfs_file_name) override; |
| 64 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; | 64 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; |
| 65 long long databaseGetSpaceAvailableForOrigin( | 65 long long databaseGetSpaceAvailableForOrigin( |
| 66 const blink::WebString& origin_identifier) override; | 66 const blink::WebString& origin_identifier) override; |
| 67 bool databaseSetFileSize(const blink::WebString& vfs_file_name, | 67 bool databaseSetFileSize(const blink::WebString& vfs_file_name, |
| 68 long long size) override; | 68 long long size) override; |
| 69 blink::WebString signedPublicKeyAndChallengeString( | 69 blink::WebString signedPublicKeyAndChallengeString( |
| 70 unsigned key_size_index, | 70 unsigned key_size_index, |
| 71 const blink::WebString& challenge, | 71 const blink::WebString& challenge, |
| 72 const blink::WebURL& url) override; | 72 const blink::WebURL& url, |
| 73 const blink::WebURL& parent_url) override; |
| 73 size_t memoryUsageMB() override; | 74 size_t memoryUsageMB() override; |
| 74 size_t actualMemoryUsageMB() override; | 75 size_t actualMemoryUsageMB() override; |
| 75 size_t physicalMemoryMB() override; | 76 size_t physicalMemoryMB() override; |
| 76 size_t virtualMemoryLimitMB() override; | 77 size_t virtualMemoryLimitMB() override; |
| 77 bool isLowEndDeviceMode() override; | 78 bool isLowEndDeviceMode() override; |
| 78 size_t numberOfProcessors() override; | 79 size_t numberOfProcessors() override; |
| 79 | 80 |
| 80 bool processMemorySizesInBytes(size_t* private_bytes, | 81 bool processMemorySizesInBytes(size_t* private_bytes, |
| 81 size_t* shared_bytes) override; | 82 size_t* shared_bytes) override; |
| 82 bool memoryAllocatorWasteInBytes(size_t* size) override; | 83 bool memoryAllocatorWasteInBytes(size_t* size) override; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 210 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 210 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 211 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
| 211 scoped_refptr<PushDispatcher> push_dispatcher_; | 212 scoped_refptr<PushDispatcher> push_dispatcher_; |
| 212 scoped_ptr<PermissionDispatcher> permission_client_; | 213 scoped_ptr<PermissionDispatcher> permission_client_; |
| 213 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 214 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
| 214 }; | 215 }; |
| 215 | 216 |
| 216 } // namespace content | 217 } // namespace content |
| 217 | 218 |
| 218 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 219 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |