Commit 836cbce9 authored by jam@chromium.org's avatar jam@chromium.org

Remove the url parameter from blink::Platform::userAgent since it's not used anymore.

BUG=304341

Review URL: https://codereview.chromium.org/208923002

git-svn-id: svn://svn.chromium.org/blink/trunk@169863 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 0e4a5739
......@@ -593,7 +593,7 @@ String FrameLoaderClientImpl::userAgent(const KURL& url)
if (!override.isEmpty())
return override;
return blink::Platform::current()->userAgent(url);
return blink::Platform::current()->userAgent();
}
String FrameLoaderClientImpl::doNotTrackValue()
......
......@@ -323,8 +323,8 @@ public:
// Returns a new WebSocketHandle instance.
virtual WebSocketHandle* createWebSocketHandle() { return 0; }
// Returns the User-Agent string that should be used for the given URL.
virtual WebString userAgent(const WebURL&) { return WebString(); }
// Returns the User-Agent string.
virtual WebString userAgent() { return WebString(); }
// A suggestion to cache this metadata in association with this URL.
virtual void cacheMetadata(const WebURL&, double responseTime, const char* data, size_t dataSize) { }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment