Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Side by Side Diff: content/child/blink_platform_impl.h

Issue 1700233003: [WIP][SVG 2/4] Make data URL handling in ResourceFetcher and WebURLLoaderImpl consistent Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: auto-Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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_
OLDNEW
« no previous file with comments | « no previous file | content/child/blink_platform_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698