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

Unified Diff: content/public/test/mock_render_thread.h

Issue 2103733004: Set navigationStart correctly for all load types. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment, fix indent. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/public/test/render_view_test.h » ('j') | content/renderer/render_frame_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/mock_render_thread.h
diff --git a/content/public/test/mock_render_thread.h b/content/public/test/mock_render_thread.h
index fcfb53fbfe546e954c2d01485f54736988c96b7f..125a24e277e6cfc3b85bfe6d731d3baeda2463a2 100644
--- a/content/public/test/mock_render_thread.h
+++ b/content/public/test/mock_render_thread.h
@@ -94,8 +94,18 @@ class MockRenderThread : public RenderThread {
int32_t opener_id() const { return opener_id_; }
+ int32_t new_window_routing_id() const { return new_window_routing_id_; }
+
void set_new_window_routing_id(int32_t id) { new_window_routing_id_ = id; }
+ int32_t new_window_main_frame_routing_id() const {
+ return new_window_main_frame_routing_id_;
+ }
+
+ void set_new_window_main_frame_routing_id(int32_t id) {
clamy 2016/07/21 11:52:44 What is this used for?
Alexander Semashko 2016/07/21 14:00:22 This id is put into the response to ViewHostMsg_Cr
+ new_window_main_frame_routing_id_ = id;
+ }
+
void set_new_window_main_frame_widget_routing_id(int32_t id) {
new_window_main_frame_widget_routing_id_ = id;
}
« no previous file with comments | « no previous file | content/public/test/render_view_test.h » ('j') | content/renderer/render_frame_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698