| 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 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 long databaseGetFileAttributes( | 69 long databaseGetFileAttributes( |
| 70 const blink::WebString& vfs_file_name) override; | 70 const blink::WebString& vfs_file_name) override; |
| 71 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; | 71 long long databaseGetFileSize(const blink::WebString& vfs_file_name) override; |
| 72 long long databaseGetSpaceAvailableForOrigin( | 72 long long databaseGetSpaceAvailableForOrigin( |
| 73 const blink::WebSecurityOrigin& origin) override; | 73 const blink::WebSecurityOrigin& origin) override; |
| 74 bool databaseSetFileSize(const blink::WebString& vfs_file_name, | 74 bool databaseSetFileSize(const blink::WebString& vfs_file_name, |
| 75 long long size) override; | 75 long long size) override; |
| 76 size_t actualMemoryUsageMB() override; | 76 size_t actualMemoryUsageMB() override; |
| 77 size_t numberOfProcessors() override; | 77 size_t numberOfProcessors() override; |
| 78 | 78 |
| 79 void bindServiceConnector( |
| 80 mojo::ScopedMessagePipeHandle remote_handle) override; |
| 81 |
| 79 size_t maxDecodedImageBytes() override; | 82 size_t maxDecodedImageBytes() override; |
| 80 uint32_t getUniqueIdForProcess() override; | 83 uint32_t getUniqueIdForProcess() override; |
| 81 blink::WebString userAgent() override; | 84 blink::WebString userAgent() override; |
| 82 blink::WebURLError cancelledError(const blink::WebURL& url) const override; | 85 blink::WebURLError cancelledError(const blink::WebURL& url) const override; |
| 83 blink::WebThread* createThread(const char* name) override; | 86 blink::WebThread* createThread(const char* name) override; |
| 84 blink::WebThread* currentThread() override; | 87 blink::WebThread* currentThread() override; |
| 85 void recordAction(const blink::UserMetricsAction&) override; | 88 void recordAction(const blink::UserMetricsAction&) override; |
| 86 | 89 |
| 87 blink::WebData loadResource(const char* name) override; | 90 blink::WebData loadResource(const char* name) override; |
| 88 blink::WebString queryLocalizedString( | 91 blink::WebString queryLocalizedString( |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 139 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
| 137 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 140 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
| 138 scoped_refptr<PushDispatcher> push_dispatcher_; | 141 scoped_refptr<PushDispatcher> push_dispatcher_; |
| 139 | 142 |
| 140 blink::scheduler::WebThreadBase* compositor_thread_; | 143 blink::scheduler::WebThreadBase* compositor_thread_; |
| 141 }; | 144 }; |
| 142 | 145 |
| 143 } // namespace content | 146 } // namespace content |
| 144 | 147 |
| 145 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 148 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
| OLD | NEW |