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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 uint32_t getUniqueIdForProcess() override; | 90 uint32_t getUniqueIdForProcess() override; |
91 blink::WebURLLoader* createURLLoader() override; | 91 blink::WebURLLoader* createURLLoader() override; |
92 blink::WebSocketHandle* createWebSocketHandle() override; | 92 blink::WebSocketHandle* createWebSocketHandle() override; |
93 blink::WebString userAgent() override; | 93 blink::WebString userAgent() override; |
94 blink::WebData parseDataURL(const blink::WebURL& url, | 94 blink::WebData parseDataURL(const blink::WebURL& url, |
95 blink::WebString& mimetype, | 95 blink::WebString& mimetype, |
96 blink::WebString& charset) override; | 96 blink::WebString& charset) override; |
97 blink::WebURLError cancelledError(const blink::WebURL& url) const override; | 97 blink::WebURLError cancelledError(const blink::WebURL& url) const override; |
98 bool isReservedIPAddress(const blink::WebString& host) const override; | 98 bool isReservedIPAddress(const blink::WebString& host) const override; |
99 bool portAllowed(const blink::WebURL& url) const override; | 99 bool portAllowed(const blink::WebURL& url) const override; |
| 100 bool parseAdditionalHeaders(const char* bytes, |
| 101 size_t, |
| 102 blink::WebURLResponse*, |
| 103 size_t* end) const override; |
| 104 |
100 blink::WebThread* createThread(const char* name) override; | 105 blink::WebThread* createThread(const char* name) override; |
101 blink::WebThread* currentThread() override; | 106 blink::WebThread* currentThread() override; |
102 void registerMemoryDumpProvider(blink::WebMemoryDumpProvider* wmdp, | 107 void registerMemoryDumpProvider(blink::WebMemoryDumpProvider* wmdp, |
103 const char* name) override; | 108 const char* name) override; |
104 void unregisterMemoryDumpProvider( | 109 void unregisterMemoryDumpProvider( |
105 blink::WebMemoryDumpProvider* wmdp) override; | 110 blink::WebMemoryDumpProvider* wmdp) override; |
106 blink::WebProcessMemoryDump* createProcessMemoryDump() override; | 111 blink::WebProcessMemoryDump* createProcessMemoryDump() override; |
107 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( | 112 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( |
108 const blink::WebString& guidStr) override; | 113 const blink::WebString& guidStr) override; |
109 void addTraceLogEnabledStateObserver( | 114 void addTraceLogEnabledStateObserver( |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 scoped_refptr<PushDispatcher> push_dispatcher_; | 180 scoped_refptr<PushDispatcher> push_dispatcher_; |
176 scoped_ptr<PermissionDispatcher> permission_client_; | 181 scoped_ptr<PermissionDispatcher> permission_client_; |
177 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 182 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
178 | 183 |
179 scheduler::WebThreadBase* compositor_thread_; | 184 scheduler::WebThreadBase* compositor_thread_; |
180 }; | 185 }; |
181 | 186 |
182 } // namespace content | 187 } // namespace content |
183 | 188 |
184 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 189 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |