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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 blink::WebString signedPublicKeyAndChallengeString( | 76 blink::WebString signedPublicKeyAndChallengeString( |
77 unsigned key_size_index, | 77 unsigned key_size_index, |
78 const blink::WebString& challenge, | 78 const blink::WebString& challenge, |
79 const blink::WebURL& url, | 79 const blink::WebURL& url, |
80 const blink::WebURL& top_origin) override; | 80 const blink::WebURL& top_origin) override; |
81 size_t actualMemoryUsageMB() override; | 81 size_t actualMemoryUsageMB() override; |
82 size_t numberOfProcessors() override; | 82 size_t numberOfProcessors() override; |
83 | 83 |
84 void bindServiceConnector( | |
85 service_manager::mojom::blink::ConnectorRequest request) override; | |
86 | |
87 size_t maxDecodedImageBytes() override; | 84 size_t maxDecodedImageBytes() override; |
88 uint32_t getUniqueIdForProcess() override; | 85 uint32_t getUniqueIdForProcess() override; |
89 blink::WebString userAgent() override; | 86 blink::WebString userAgent() override; |
90 blink::WebURLError cancelledError(const blink::WebURL& url) const override; | 87 blink::WebURLError cancelledError(const blink::WebURL& url) const override; |
91 blink::WebThread* createThread(const char* name) override; | 88 blink::WebThread* createThread(const char* name) override; |
92 blink::WebThread* currentThread() override; | 89 blink::WebThread* currentThread() override; |
93 void recordAction(const blink::UserMetricsAction&) override; | 90 void recordAction(const blink::UserMetricsAction&) override; |
94 | 91 |
95 blink::WebData loadResource(const char* name) override; | 92 blink::WebData loadResource(const char* name) override; |
96 blink::WebString queryLocalizedString( | 93 blink::WebString queryLocalizedString( |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 scoped_refptr<ThreadSafeSender> thread_safe_sender_; | 141 scoped_refptr<ThreadSafeSender> thread_safe_sender_; |
145 scoped_refptr<NotificationDispatcher> notification_dispatcher_; | 142 scoped_refptr<NotificationDispatcher> notification_dispatcher_; |
146 scoped_refptr<PushDispatcher> push_dispatcher_; | 143 scoped_refptr<PushDispatcher> push_dispatcher_; |
147 | 144 |
148 blink::scheduler::WebThreadBase* compositor_thread_; | 145 blink::scheduler::WebThreadBase* compositor_thread_; |
149 }; | 146 }; |
150 | 147 |
151 } // namespace content | 148 } // namespace content |
152 | 149 |
153 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 150 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |