Index: content/test/web_contents_tester.h |
=================================================================== |
--- content/test/web_contents_tester.h (revision 136630) |
+++ content/test/web_contents_tester.h (working copy) |
@@ -91,6 +91,9 @@ |
// emulates what happens on a new navigation. |
virtual void NavigateAndCommit(const GURL& url) = 0; |
+ // Sets the loading state to the given value. |
+ virtual void TestSetIsLoading(bool value) = 0; |
+ |
// Simulates the current RVH notifying that it has unloaded so that the |
// pending RVH navigation can proceed. |
// Does nothing if no cross-navigation is pending. |