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

Unified Diff: content/public/browser/web_contents.h

Issue 988453002: Request uncompressed images from data reduction proxy when saving. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: whitespace change Created 5 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: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 493abd8f0d4b297b307c45e5a0890ffe5a806b41..77d19f50994a5a070f6d52dc0fafbaf66b41850f 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -470,10 +470,16 @@ class WebContents : public PageNavigator,
const base::FilePath& dir_path,
SavePageType save_type) = 0;
- // Saves the given frame's URL to the local filesystem..
+ // Saves the given frame's URL to the local filesystem.
virtual void SaveFrame(const GURL& url,
const Referrer& referrer) = 0;
+ // Saves the given frame's URL to the local filesystem using the header
+ // provided to make the request.
Avi (use Gerrit) 2015/03/05 20:35:39 Document the format of the "headers" string.
Not at Google. Contact bengr 2015/03/06 22:23:48 Good call. Done.
+ virtual void SaveFrameWithHeader(const GURL& url,
Avi (use Gerrit) 2015/03/05 20:35:39 SaveFrameWithHeaders
Not at Google. Contact bengr 2015/03/06 22:23:48 Done.
+ const Referrer& referrer,
+ const std::string& header) = 0;
Avi (use Gerrit) 2015/03/05 20:35:39 There may be more than one header in this paramete
Not at Google. Contact bengr 2015/03/06 22:23:48 Done.
+
// Generate an MHTML representation of the current page in the given file.
virtual void GenerateMHTML(
const base::FilePath& file,

Powered by Google App Engine
This is Rietveld 408576698