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

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: Sync to head 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..1f28160f783b88c8f8c0b005d9f40b41f4911ada 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 that were passed in the previous SaveFrameWithHeaders(...)
+ // call.
+ virtual const std::string& GetSaveFrameHeaders() = 0;
};
} // namespace content
« no previous file with comments | « chrome/browser/renderer_context_menu/render_view_context_menu_unittest.cc ('k') | content/test/test_web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698