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

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

Issue 2601843002: Convert more test helpers to base::RunLoop, fix page title checks. (Closed)
Patch Set: Remove unneeded call. Created 3 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/public/test/test_frame_navigation_observer.h
diff --git a/content/public/test/test_frame_navigation_observer.h b/content/public/test/test_frame_navigation_observer.h
index 9717daf9dc0d066d2dd8d49e2eafaaae0ea4fc2c..aadc9d7e989b2def885e0528ed3cb52f8d00ff16 100644
--- a/content/public/test/test_frame_navigation_observer.h
+++ b/content/public/test/test_frame_navigation_observer.h
@@ -11,6 +11,7 @@
#include "base/callback.h"
#include "base/compiler_specific.h"
#include "base/macros.h"
+#include "base/run_loop.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/test/browser_test_utils.h"
#include "content/public/test/test_utils.h"
@@ -64,8 +65,8 @@ class TestFrameNavigationObserver : public WebContentsObserver {
// of the document.
bool wait_for_commit_;
- // The MessageLoopRunner used to spin the message loop.
- scoped_refptr<MessageLoopRunner> message_loop_runner_;
+ // The RunLoop used to spin the message loop.
+ base::RunLoop run_loop_;
DISALLOW_COPY_AND_ASSIGN(TestFrameNavigationObserver);
};

Powered by Google App Engine
This is Rietveld 408576698