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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 int DatabaseDeleteFile(const blink::WebString& vfs_file_name, | 66 int DatabaseDeleteFile(const blink::WebString& vfs_file_name, |
67 bool sync_dir) override; | 67 bool sync_dir) override; |
68 long DatabaseGetFileAttributes( | 68 long DatabaseGetFileAttributes( |
69 const blink::WebString& vfs_file_name) override; | 69 const blink::WebString& vfs_file_name) override; |
70 long long DatabaseGetFileSize(const blink::WebString& vfs_file_name) override; | 70 long long DatabaseGetFileSize(const blink::WebString& vfs_file_name) override; |
71 long long DatabaseGetSpaceAvailableForOrigin( | 71 long long DatabaseGetSpaceAvailableForOrigin( |
72 const blink::WebSecurityOrigin& origin) override; | 72 const blink::WebSecurityOrigin& origin) override; |
73 bool DatabaseSetFileSize(const blink::WebString& vfs_file_name, | 73 bool DatabaseSetFileSize(const blink::WebString& vfs_file_name, |
74 long long size) override; | 74 long long size) override; |
75 size_t ActualMemoryUsageMB() override; | 75 size_t ActualMemoryUsageMB() override; |
| 76 size_t AmountOfPhysicalMemoryMB() override; |
76 size_t NumberOfProcessors() override; | 77 size_t NumberOfProcessors() override; |
77 | 78 |
78 size_t MaxDecodedImageBytes() override; | 79 size_t MaxDecodedImageBytes() override; |
79 uint32_t GetUniqueIdForProcess() override; | 80 uint32_t GetUniqueIdForProcess() override; |
80 blink::WebString UserAgent() override; | 81 blink::WebString UserAgent() override; |
81 blink::WebURLError CancelledError(const blink::WebURL& url) const override; | 82 blink::WebURLError CancelledError(const blink::WebURL& url) const override; |
82 std::unique_ptr<blink::WebThread> CreateThread(const char* name) override; | 83 std::unique_ptr<blink::WebThread> CreateThread(const char* name) override; |
83 blink::WebThread* CurrentThread() override; | 84 blink::WebThread* CurrentThread() override; |
84 void RecordAction(const blink::UserMetricsAction&) override; | 85 void RecordAction(const blink::UserMetricsAction&) override; |
85 | 86 |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 146 |
146 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 147 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
147 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 148 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
148 | 149 |
149 blink::scheduler::WebThreadBase* compositor_thread_; | 150 blink::scheduler::WebThreadBase* compositor_thread_; |
150 }; | 151 }; |
151 | 152 |
152 } // namespace content | 153 } // namespace content |
153 | 154 |
154 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 155 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |