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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 blink::WebString signedPublicKeyAndChallengeString( | 77 blink::WebString signedPublicKeyAndChallengeString( |
78 unsigned key_size_index, | 78 unsigned key_size_index, |
79 const blink::WebString& challenge, | 79 const blink::WebString& challenge, |
80 const blink::WebURL& url, | 80 const blink::WebURL& url, |
81 const blink::WebURL& top_origin) override; | 81 const blink::WebURL& top_origin) override; |
82 size_t actualMemoryUsageMB() override; | 82 size_t actualMemoryUsageMB() override; |
83 size_t numberOfProcessors() override; | 83 size_t numberOfProcessors() override; |
84 | 84 |
85 size_t maxDecodedImageBytes() override; | 85 size_t maxDecodedImageBytes() override; |
86 uint32_t getUniqueIdForProcess() override; | 86 uint32_t getUniqueIdForProcess() override; |
87 blink::WebSocketHandle* createWebSocketHandle() override; | |
88 blink::WebString userAgent() override; | 87 blink::WebString userAgent() override; |
89 blink::WebData parseDataURL(const blink::WebURL& url, | 88 blink::WebData parseDataURL(const blink::WebURL& url, |
90 blink::WebString& mimetype, | 89 blink::WebString& mimetype, |
91 blink::WebString& charset) override; | 90 blink::WebString& charset) override; |
92 blink::WebURLError cancelledError(const blink::WebURL& url) const override; | 91 blink::WebURLError cancelledError(const blink::WebURL& url) const override; |
93 bool parseMultipartHeadersFromBody(const char* bytes, | 92 bool parseMultipartHeadersFromBody(const char* bytes, |
94 size_t size, | 93 size_t size, |
95 blink::WebURLResponse* response, | 94 blink::WebURLResponse* response, |
96 size_t* end) const override; | 95 size_t* end) const override; |
97 blink::WebThread* createThread(const char* name) override; | 96 blink::WebThread* createThread(const char* name) override; |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 scoped_refptr<PushDispatcher> push_dispatcher_; | 160 scoped_refptr<PushDispatcher> push_dispatcher_; |
162 std::unique_ptr<PermissionDispatcher> permission_client_; | 161 std::unique_ptr<PermissionDispatcher> permission_client_; |
163 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 162 std::unique_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
164 | 163 |
165 scheduler::WebThreadBase* compositor_thread_; | 164 scheduler::WebThreadBase* compositor_thread_; |
166 }; | 165 }; |
167 | 166 |
168 } // namespace content | 167 } // namespace content |
169 | 168 |
170 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 169 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |