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

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: Refactor common setup code. 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..db40313bcd4692e85f233b88f335b7430f5e83d2 100644
--- a/content/public/test/web_contents_tester.h
+++ b/content/public/test/web_contents_tester.h
@@ -5,6 +5,8 @@
#ifndef CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
#define CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
+#include <string>
+
#include "ui/base/page_transition_types.h"
class GURL;
@@ -100,6 +102,10 @@ class WebContentsTester {
const GURL& url,
const Referrer& referrer,
ui::PageTransition transition) = 0;
+
+ // Returns headers which were passed in the previous SaveFrameWithHeaders(...)
bengr 2015/05/13 17:35:47 nit: which -> that
Not at Google. Contact bengr 2015/05/13 20:24:09 Done.
+ // call.
+ virtual const std::string& GetSaveFrameHeaders() = 0;
};
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698