| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 numberOfProcessors() override; | 76 size_t numberOfProcessors() override; |
| 77 | 77 |
| 78 void bindServiceConnector( | |
| 79 mojo::ScopedMessagePipeHandle remote_handle) override; | |
| 80 | |
| 81 size_t maxDecodedImageBytes() override; | 78 size_t maxDecodedImageBytes() override; |
| 82 uint32_t getUniqueIdForProcess() override; | 79 uint32_t getUniqueIdForProcess() override; |
| 83 blink::WebString userAgent() override; | 80 blink::WebString userAgent() override; |
| 84 blink::WebURLError cancelledError(const blink::WebURL& url) const override; | 81 blink::WebURLError cancelledError(const blink::WebURL& url) const override; |
| 85 blink::WebThread* createThread(const char* name) override; | 82 blink::WebThread* createThread(const char* name) override; |
| 86 blink::WebThread* currentThread() override; | 83 blink::WebThread* currentThread() override; |
| 87 void recordAction(const blink::UserMetricsAction&) override; | 84 void recordAction(const blink::UserMetricsAction&) override; |
| 88 | 85 |
| 89 blink::WebData loadResource(const char* name) override; | 86 blink::WebData loadResource(const char* name) override; |
| 90 blink::WebString queryLocalizedString( | 87 blink::WebString queryLocalizedString( |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 | 145 |
| 149 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 146 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 150 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 147 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
| 151 | 148 |
| 152 blink::scheduler::WebThreadBase* compositor_thread_; | 149 blink::scheduler::WebThreadBase* compositor_thread_; |
| 153 }; | 150 }; |
| 154 | 151 |
| 155 } // namespace content | 152 } // namespace content |
| 156 | 153 |
| 157 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 154 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |