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

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

Issue 2674953003: Only generate suggested filenames when actually dragging an image. (Closed)
Patch Set: rebase 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 ec5d42c669ef1352aa3327cc8f85f9e7e922f65c..5552310c55cfae2251dd008d204d7cd921426be6 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