Chromium Code Reviews| 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> | |
|
Avi (use Gerrit)
2015/05/11 20:52:29
Space after this line.
Not at Google. Contact bengr
2015/05/11 22:43:14
Done.
| |
| 8 #include "ui/base/page_transition_types.h" | 9 #include "ui/base/page_transition_types.h" |
| 9 | 10 |
| 10 class GURL; | 11 class GURL; |
| 11 | 12 |
| 12 namespace content { | 13 namespace content { |
| 13 | 14 |
| 14 class BrowserContext; | 15 class BrowserContext; |
| 15 class RenderFrameHost; | 16 class RenderFrameHost; |
| 16 class RenderViewHost; | 17 class RenderViewHost; |
| 17 class SiteInstance; | 18 class SiteInstance; |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 93 bool did_create_new_entry, | 94 bool did_create_new_entry, |
| 94 const GURL& url, | 95 const GURL& url, |
| 95 ui::PageTransition transition) = 0; | 96 ui::PageTransition transition) = 0; |
| 96 virtual void TestDidNavigateWithReferrer(RenderFrameHost* render_frame_host, | 97 virtual void TestDidNavigateWithReferrer(RenderFrameHost* render_frame_host, |
| 97 int page_id, | 98 int page_id, |
| 98 int nav_entry_id, | 99 int nav_entry_id, |
| 99 bool did_create_new_entry, | 100 bool did_create_new_entry, |
| 100 const GURL& url, | 101 const GURL& url, |
| 101 const Referrer& referrer, | 102 const Referrer& referrer, |
| 102 ui::PageTransition transition) = 0; | 103 ui::PageTransition transition) = 0; |
| 104 | |
| 105 // Returns headers which were passed in the previous SaveFrameWithHeaders(...) | |
| 106 // call. | |
| 107 virtual const std::string& GetSaveFrameHeaders() = 0; | |
| 103 }; | 108 }; |
| 104 | 109 |
| 105 } // namespace content | 110 } // namespace content |
| 106 | 111 |
| 107 #endif // CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_ | 112 #endif // CONTENT_PUBLIC_TEST_WEB_CONTENTS_TESTER_H_ |
| OLD | NEW |