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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_ 5 #ifndef CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
6 #define CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_ 6 #define CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
7 7
8 #include <string>
9
8 #include "ui/base/page_transition_types.h" 10 #include "ui/base/page_transition_types.h"
9 11
10 class GURL; 12 class GURL;
11 13
12 namespace content { 14 namespace content {
13 15
14 class BrowserContext; 16 class BrowserContext;
15 class RenderFrameHost; 17 class RenderFrameHost;
16 class RenderViewHost; 18 class RenderViewHost;
17 class SiteInstance; 19 class SiteInstance;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 bool did_create_new_entry, 95 bool did_create_new_entry,
94 const GURL& url, 96 const GURL& url,
95 ui::PageTransition transition) = 0; 97 ui::PageTransition transition) = 0;
96 virtual void TestDidNavigateWithReferrer(RenderFrameHost* render_frame_host, 98 virtual void TestDidNavigateWithReferrer(RenderFrameHost* render_frame_host,
97 int page_id, 99 int page_id,
98 int nav_entry_id, 100 int nav_entry_id,
99 bool did_create_new_entry, 101 bool did_create_new_entry,
100 const GURL& url, 102 const GURL& url,
101 const Referrer& referrer, 103 const Referrer& referrer,
102 ui::PageTransition transition) = 0; 104 ui::PageTransition transition) = 0;
105
106 // Returns headers that were passed in the previous SaveFrameWithHeaders(...)
107 // call.
108 virtual const std::string& GetSaveFrameHeaders() = 0;
103 }; 109 };
104 110
105 } // namespace content 111 } // namespace content
106 112
107 #endif // CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_ 113 #endif // CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
OLDNEW
« 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