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

Unified Diff: content/test/test_render_view_host.h

Issue 88503002: Have the unload event execute in background on cross-site navigations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + addressed some of Nasko's comments Created 6 years, 11 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
Index: content/test/test_render_view_host.h
diff --git a/content/test/test_render_view_host.h b/content/test/test_render_view_host.h
index e398964023e0d35a4552e028fed07001d2933675..c3bbdc8f72506468bac9e4cea4752c6219aef1f3 100644
--- a/content/test/test_render_view_host.h
+++ b/content/test/test_render_view_host.h
@@ -282,16 +282,10 @@ class TestRenderViewHost
return is_waiting_for_beforeunload_ack_;
}
- // Returns whether the RenderViewHost is currently waiting to hear the result
- // of an unload handler from the renderer.
- bool is_waiting_for_unload_ack() const {
- return is_waiting_for_unload_ack_;
- }
-
// Sets whether the RenderViewHost is currently swapped out, and thus
// filtering messages from the renderer.
- void set_is_swapped_out(bool is_swapped_out) {
- is_swapped_out_ = is_swapped_out;
+ void set_rvh_state(RenderViewHostImplState rvh_state) {
+ rvh_state_ = rvh_state;
}
// If set, navigations will appear to have loaded through a proxy

Powered by Google App Engine
This is Rietveld 408576698