| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |