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

Unified Diff: public/platform/Platform.h

Issue 16433002: Prepopulate the memoryCache with data:uri images. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update TestExpectations Created 7 years, 6 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
Index: public/platform/Platform.h
diff --git a/public/platform/Platform.h b/public/platform/Platform.h
index acff9862dc1663b4f3cc6a0b73606bc332a52457..15dcc6cf7c81d26290af591341aba24ff2268daf 100644
--- a/public/platform/Platform.h
+++ b/public/platform/Platform.h
@@ -287,6 +287,9 @@ public:
// A suggestion to cache this metadata in association with this URL.
virtual void cacheMetadata(const WebURL&, double responseTime, const char* data, size_t dataSize) { }
+ // Returns the decoded data url if url had a supported mimetype and parsing was successful.
+ virtual WebData parseDataURL(const WebURL&, WebString& mimetype, WebString& charset) { return WebData(); }
+
// Plugins -------------------------------------------------------------

Powered by Google App Engine
This is Rietveld 408576698