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

Unified Diff: content/public/test/web_contents_tester.h

Issue 1137563002: Tests for "Save Image As..." when Data Saver is enabled. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Whitespace Created 5 years, 7 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/test/web_contents_tester.h
diff --git a/content/public/test/web_contents_tester.h b/content/public/test/web_contents_tester.h
index 77ef2cc6e9b063fde5fa3ce7973acb5fe60bb147..c32dd0840e6e89095c8102e3385a85d26bae2e33 100644
--- a/content/public/test/web_contents_tester.h
+++ b/content/public/test/web_contents_tester.h
@@ -5,6 +5,7 @@
#ifndef CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
#define CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
+#include <string>
Avi (use Gerrit) 2015/05/11 20:52:29 Space after this line.
Not at Google. Contact bengr 2015/05/11 22:43:14 Done.
#include "ui/base/page_transition_types.h"
class GURL;
@@ -100,6 +101,10 @@ class WebContentsTester {
const GURL& url,
const Referrer& referrer,
ui::PageTransition transition) = 0;
+
+ // Returns headers which were passed in the previous SaveFrameWithHeaders(...)
+ // call.
+ virtual const std::string& GetSaveFrameHeaders() = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698