| 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 bb500cc431f355f3ae853994b6a206ddc0eef5e3..2e414abfa1d9b53bc74772039f7860085c69365a 100644
|
| --- a/content/public/test/web_contents_tester.h
|
| +++ b/content/public/test/web_contents_tester.h
|
| @@ -8,20 +8,22 @@
|
| #include <string>
|
|
|
| #include "content/public/browser/site_instance.h"
|
| #include "ui/base/page_transition_types.h"
|
|
|
| class GURL;
|
|
|
| namespace content {
|
|
|
| class BrowserContext;
|
| +class NavigationData;
|
| +class NavigationHandle;
|
| class RenderFrameHost;
|
| class RenderViewHost;
|
| class WebContents;
|
| struct Referrer;
|
|
|
| // This interface allows embedders of content/ to write tests that depend on a
|
| // test version of WebContents. This interface can be retrieved from any
|
| // WebContents that was retrieved via a call to
|
| // RenderViewHostTestHarness::GetWebContents() (directly or indirectly) or
|
| // constructed explicitly via CreateTestWebContents.
|
| @@ -110,18 +112,23 @@ class WebContentsTester {
|
| const GURL& url,
|
| ui::PageTransition transition) = 0;
|
| virtual void TestDidNavigateWithReferrer(RenderFrameHost* render_frame_host,
|
| int page_id,
|
| int nav_entry_id,
|
| bool did_create_new_entry,
|
| const GURL& url,
|
| const Referrer& referrer,
|
| ui::PageTransition transition) = 0;
|
|
|
| + // Sets NavgationData on |navigation_handle|.
|
| + virtual void SetNavigationData(
|
| + NavigationHandle* navigation_handle,
|
| + std::unique_ptr<NavigationData> navigation_data) = 0;
|
| +
|
| // Returns headers that were passed in the previous SaveFrameWithHeaders(...)
|
| // call.
|
| virtual const std::string& GetSaveFrameHeaders() = 0;
|
| };
|
|
|
| } // namespace content
|
|
|
| #endif // CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_
|
|
|