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

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

Issue 2296483002: Fix some unit_tests under PlzNavigate (Closed)
Patch Set: . Created 4 years, 3 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 // RenderFrameHostTester implementation. 56 // RenderFrameHostTester implementation.
57 void InitializeRenderFrameIfNeeded() override; 57 void InitializeRenderFrameIfNeeded() override;
58 TestRenderFrameHost* AppendChild(const std::string& frame_name) override; 58 TestRenderFrameHost* AppendChild(const std::string& frame_name) override;
59 void Detach() override; 59 void Detach() override;
60 void SimulateNavigationStart(const GURL& url) override; 60 void SimulateNavigationStart(const GURL& url) override;
61 void SimulateRedirect(const GURL& new_url) override; 61 void SimulateRedirect(const GURL& new_url) override;
62 void SimulateNavigationCommit(const GURL& url) override; 62 void SimulateNavigationCommit(const GURL& url) override;
63 void SimulateNavigationError(const GURL& url, int error_code) override; 63 void SimulateNavigationError(const GURL& url, int error_code) override;
64 void SimulateNavigationErrorPageCommit() override; 64 void SimulateNavigationErrorPageCommit() override;
65 void SimulateNavigationStop() override; 65 void SimulateNavigationStop() override;
66 void SimulateUnloading() override;
clamy 2016/08/30 23:08:38 I'm not a big fan of the name SimulateUnloading, s
scottmg 2016/08/30 23:55:30 I went with PrepareForCommitIfNecessary(). It's no
66 void SendNavigate(int page_id, 67 void SendNavigate(int page_id,
67 int nav_entry_id, 68 int nav_entry_id,
68 bool did_create_new_entry, 69 bool did_create_new_entry,
69 const GURL& url) override; 70 const GURL& url) override;
70 void SendFailedNavigate(int page_id, 71 void SendFailedNavigate(int page_id,
71 int nav_entry_id, 72 int nav_entry_id,
72 bool did_create_new_entry, 73 bool did_create_new_entry,
73 const GURL& url) override; 74 const GURL& url) override;
74 void SendNavigateWithTransition(int page_id, 75 void SendNavigateWithTransition(int page_id,
75 int nav_entry_id, 76 int nav_entry_id,
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 161
161 // See set_simulate_history_list_was_cleared() above. 162 // See set_simulate_history_list_was_cleared() above.
162 bool simulate_history_list_was_cleared_; 163 bool simulate_history_list_was_cleared_;
163 164
164 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost); 165 DISALLOW_COPY_AND_ASSIGN(TestRenderFrameHost);
165 }; 166 };
166 167
167 } // namespace content 168 } // namespace content
168 169
169 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_ 170 #endif // CONTENT_TEST_TEST_RENDER_FRAME_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698