OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_TEST_TEST_RENDER_FRAME_HOST_H_ | 5 #ifndef CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 6 #define CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 152 |
153 void SimulateWillStartRequest(ui::PageTransition transition); | 153 void SimulateWillStartRequest(ui::PageTransition transition); |
154 | 154 |
155 TestRenderFrameHostCreationObserver child_creation_observer_; | 155 TestRenderFrameHostCreationObserver child_creation_observer_; |
156 | 156 |
157 std::string contents_mime_type_; | 157 std::string contents_mime_type_; |
158 | 158 |
159 // See set_simulate_history_list_was_cleared() above. | 159 // See set_simulate_history_list_was_cleared() above. |
160 bool simulate_history_list_was_cleared_; | 160 bool simulate_history_list_was_cleared_; |
161 | 161 |
| 162 // The last commit was for an error page. |
| 163 bool last_commit_was_error_page_; |
| 164 |
162 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); | 165 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); |
163 }; | 166 }; |
164 | 167 |
165 } // namespace content | 168 } // namespace content |
166 | 169 |
167 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ | 170 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ |
OLD | NEW |