| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 135 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 139 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 136 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
| 140 scoped_refptr<PushDispatcher> push_dispatcher_; | 137 scoped_refptr<PushDispatcher> push_dispatcher_; |
| 141 | 138 |
| 142 blink::scheduler::WebThreadBase* compositor_thread_; | 139 blink::scheduler::WebThreadBase* compositor_thread_; |
| 143 }; | 140 }; |
| 144 | 141 |
| 145 } // namespace content | 142 } // namespace content |
| 146 | 143 |
| 147 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 144 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |