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

Unified Diff: content/child/blink_platform_impl.h

Issue 191093002: Simplify the user agent code some more since after r255534 it's not affected by the site's URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 6 years, 9 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: content/child/blink_platform_impl.h
===================================================================
--- content/child/blink_platform_impl.h (revision 255624)
+++ content/child/blink_platform_impl.h (working copy)
@@ -63,6 +63,8 @@
virtual size_t maxDecodedImageBytes() OVERRIDE;
virtual blink::WebURLLoader* createURLLoader();
virtual blink::WebSocketStreamHandle* createSocketStreamHandle();
+ virtual blink::WebString userAgent();
+ // TODO(jam): remove this after Blink is updated
virtual blink::WebString userAgent(const blink::WebURL& url);
virtual blink::WebData parseDataURL(
const blink::WebURL& url, blink::WebString& mimetype,

Powered by Google App Engine
This is Rietveld 408576698