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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

Issue 2674953003: Only generate suggested filenames when actually dragging an image. (Closed)
Patch Set: Maybe? Created 3 years, 10 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: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
index 260c3652b10d864a660d92cf4c1eb4471494c778..ac79fa1dead4280d643805058c8a07b5f97ccaf4 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponse.cpp
@@ -178,14 +178,6 @@ void WebURLResponse::setTextEncodingName(const WebString& textEncodingName) {
m_resourceResponse->setTextEncodingName(textEncodingName);
}
-WebString WebURLResponse::suggestedFileName() const {
- return m_resourceResponse->suggestedFilename();
-}
-
-void WebURLResponse::setSuggestedFileName(const WebString& suggestedFileName) {
- m_resourceResponse->setSuggestedFilename(suggestedFileName);
-}
-
WebURLResponse::HTTPVersion WebURLResponse::httpVersion() const {
return static_cast<HTTPVersion>(m_resourceResponse->httpVersion());
}

Powered by Google App Engine
This is Rietveld 408576698