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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
83 size_t actualMemoryUsageMB() override; | 83 size_t actualMemoryUsageMB() override; |
84 size_t numberOfProcessors() override; | 84 size_t numberOfProcessors() override; |
85 | 85 |
86 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( | 86 blink::WebDiscardableMemory* allocateAndLockDiscardableMemory( |
87 size_t bytes) override; | 87 size_t bytes) override; |
88 size_t maxDecodedImageBytes() override; | 88 size_t maxDecodedImageBytes() override; |
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 bool parseDataURLIfCanBeHandledLocally(const blink::WebURLRequest&, |
94 blink::WebString& mimetype, | 94 blink::WebString& mimetype, |
95 blink::WebString& charset) override; | 95 blink::WebString& charset, |
| 96 blink::WebData&) override; |
96 blink::WebURLError cancelledError(const blink::WebURL& url) const override; | 97 blink::WebURLError cancelledError(const blink::WebURL& url) const override; |
97 bool isReservedIPAddress(const blink::WebString& host) const override; | 98 bool isReservedIPAddress(const blink::WebString& host) const override; |
98 bool portAllowed(const blink::WebURL& url) const override; | 99 bool portAllowed(const blink::WebURL& url) const override; |
99 blink::WebThread* createThread(const char* name) override; | 100 blink::WebThread* createThread(const char* name) override; |
100 blink::WebThread* currentThread() override; | 101 blink::WebThread* currentThread() override; |
101 void recordAction(const blink::UserMetricsAction&) override; | 102 void recordAction(const blink::UserMetricsAction&) override; |
102 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( | 103 blink::Platform::WebMemoryAllocatorDumpGuid createWebMemoryAllocatorDumpGuid( |
103 const blink::WebString& guidStr) override; | 104 const blink::WebString& guidStr) override; |
104 void addTraceLogEnabledStateObserver( | 105 void addTraceLogEnabledStateObserver( |
105 blink::Platform::TraceLogEnabledStateObserver* observer) override; | 106 blink::Platform::TraceLogEnabledStateObserver* observer) override; |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 scoped_refptr<PushDispatcher> push_dispatcher_; | 168 scoped_refptr<PushDispatcher> push_dispatcher_; |
168 scoped_ptr<PermissionDispatcher> permission_client_; | 169 scoped_ptr<PermissionDispatcher> permission_client_; |
169 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; | 170 scoped_ptr<BackgroundSyncProvider> main_thread_sync_provider_; |
170 | 171 |
171 scheduler::WebThreadBase* compositor_thread_; | 172 scheduler::WebThreadBase* compositor_thread_; |
172 }; | 173 }; |
173 | 174 |
174 } // namespace content | 175 } // namespace content |
175 | 176 |
176 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ | 177 #endif // CONTENT_CHILD_BLINK_PLATFORM_IMPL_H_ |
OLD | NEW |