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

Unified Diff: sky/viewer/platform/platform_impl.cc

Issue 691623003: Remove Platform::parseDataURL (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/viewer/platform/platform_impl.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/platform/platform_impl.cc
diff --git a/sky/viewer/platform/platform_impl.cc b/sky/viewer/platform/platform_impl.cc
index 269a74c2c2681dd9a791717c19f9a988f80daebf..77f3a4055053d3c63ac9a52d855396ae4f5d91a6 100644
--- a/sky/viewer/platform/platform_impl.cc
+++ b/sky/viewer/platform/platform_impl.cc
@@ -144,20 +144,6 @@ blink::WebURLLoader* PlatformImpl::createURLLoader() {
return new WebURLLoaderImpl(network_service_.get());
}
-blink::WebData PlatformImpl::parseDataURL(
- const blink::WebURL& url,
- blink::WebString& mimetype_out,
- blink::WebString& charset_out) {
- std::string mimetype, charset, data;
- if (net::DataURL::Parse(url, &mimetype, &charset, &data)
- && net::IsSupportedMimeType(mimetype)) {
- mimetype_out = blink::WebString::fromUTF8(mimetype);
- charset_out = blink::WebString::fromUTF8(charset);
- return data;
- }
- return blink::WebData();
-}
-
blink::WebURLError PlatformImpl::cancelledError(const blink::WebURL& url)
const {
blink::WebURLError error;
« no previous file with comments | « sky/viewer/platform/platform_impl.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698