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

Side by Side Diff: content/test/test_render_frame_host.h

Issue 2157153003: Call WillStartRequestForTesting in TestRenderFrameHost (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Thread transition and docuemnt ShouldAttachNavigationThrottle Created 4 years, 5 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 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 bool did_create_new_entry, 142 bool did_create_new_entry,
143 bool should_replace_entry, 143 bool should_replace_entry,
144 const GURL& url, 144 const GURL& url,
145 ui::PageTransition transition, 145 ui::PageTransition transition,
146 int response_code, 146 int response_code,
147 const ModificationCallback& callback); 147 const ModificationCallback& callback);
148 148
149 // Computes the page ID for a pending navigation in this RenderFrameHost; 149 // Computes the page ID for a pending navigation in this RenderFrameHost;
150 int32_t ComputeNextPageID(); 150 int32_t ComputeNextPageID();
151 151
152 void SimulateWillStartRequest(ui::PageTransition transition);
153
152 TestRenderFrameHostCreationObserver child_creation_observer_; 154 TestRenderFrameHostCreationObserver child_creation_observer_;
153 155
154 std::string contents_mime_type_; 156 std::string contents_mime_type_;
155 157
156 // See set_simulate_history_list_was_cleared() above. 158 // See set_simulate_history_list_was_cleared() above.
157 bool simulate_history_list_was_cleared_; 159 bool simulate_history_list_was_cleared_;
158 160
159 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); 161 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost);
160 }; 162 };
161 163
162 } // namespace content 164 } // namespace content
163 165
164 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 166 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698