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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 uint32_t getUniqueIdForProcess() override; | 89 uint32_t getUniqueIdForProcess() override; |
90 blink::WebURLLoader* createURLLoader() override; | 90 blink::WebURLLoader* createURLLoader() override; |
91 blink::WebSocketHandle* createWebSocketHandle() override; | 91 blink::WebSocketHandle* createWebSocketHandle() override; |
92 blink::WebString userAgent() override; | 92 blink::WebString userAgent() override; |
93 blink::WebData parseDataURL(const blink::WebURL& url, | 93 blink::WebData parseDataURL(const blink::WebURL& url, |
94 blink::WebString& mimetype, | 94 blink::WebString& mimetype, |
95 blink::WebString& charset) override; | 95 blink::WebString& charset) override; |
96 blink::WebURLError cancelledError(const blink::WebURL& url) const override; | 96 blink::WebURLError cancelledError(const blink::WebURL& url) const override; |
97 bool isReservedIPAddress(const blink::WebString& host) const override; | 97 bool isReservedIPAddress(const blink::WebString& host) const override; |
98 bool portAllowed(const blink::WebURL& url) const override; | 98 bool portAllowed(const blink::WebURL& url) const override; |
| 99 bool parseMultipartHeadersFromBody(const char* bytes, |
| 100 size_t size, |
| 101 blink::WebURLResponse* response, |
| 102 size_t* end) const override; |
| 103 |
99 blink::WebThread* createThread(const char* name) override; | 104 blink::WebThread* createThread(const char* name) override; |
100 blink::WebThread* currentThread() override; | 105 blink::WebThread* currentThread() override; |
101 void recordAction(const blink::UserMetricsAction&) override; | 106 void recordAction(const blink::UserMetricsAction&) override; |
102 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( | 107 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( |
103 const blink::WebString& guidStr) override; | 108 const blink::WebString& guidStr) override; |
104 void addTraceLogEnabledStateObserver( | 109 void addTraceLogEnabledStateObserver( |
105 blink::Platform::TraceLogEnabledStateObserver* observer) override; | 110 blink::Platform::TraceLogEnabledStateObserver* observer) override; |
106 void removeTraceLogEnabledStateObserver( | 111 void removeTraceLogEnabledStateObserver( |
107 blink::Platform::TraceLogEnabledStateObserver* observer) override; | 112 blink::Platform::TraceLogEnabledStateObserver* observer) override; |
108 | 113 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 scoped_refptr<PushDispatcher> push_dispatcher_; | 172 scoped_refptr<PushDispatcher> push_dispatcher_; |
168 scoped_ptr<PermissionDispatcher> permission_client_; | 173 scoped_ptr<PermissionDispatcher> permission_client_; |
169 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 174 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
170 | 175 |
171 scheduler::WebThreadBase* compositor_thread_; | 176 scheduler::WebThreadBase* compositor_thread_; |
172 }; | 177 }; |
173 | 178 |
174 } // namespace content | 179 } // namespace content |
175 | 180 |
176 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 181 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |