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

Unified Diff: net/filter/filter.h

Issue 206503006: Fix content-encoding handling with buggy servers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
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
« no previous file with comments | « no previous file | net/filter/filter.cc » ('j') | net/filter/filter.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/filter/filter.h
diff --git a/net/filter/filter.h b/net/filter/filter.h
index 1b4d2f5bf2454fa5f3b783e6a9241b3fc7a2b16e..441fbf36b5a776f83480b8dbad5c108f34d2c7a7 100644
--- a/net/filter/filter.h
+++ b/net/filter/filter.h
@@ -74,6 +74,10 @@ class NET_EXPORT_PRIVATE FilterContext {
// Return false if gurl is not present.
virtual bool GetURL(GURL* gurl) const = 0;
+ // What filename did the server say to use for the file?
+ // Return false if there was no such filename.
+ virtual bool GetFilename(std::string* filename) const = 0;
+
// When was this data requested from a server?
virtual base::Time GetRequestTime() const = 0;
« no previous file with comments | « no previous file | net/filter/filter.cc » ('j') | net/filter/filter.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698