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

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

Issue 17084007: Revert "GTTF: Remove message loop hooks from TestLauncherDelegate" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | « content/public/test/test_launcher.h ('k') | content/public/test/test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/test_utils.h
diff --git a/content/public/test/test_utils.h b/content/public/test/test_utils.h
index eda3c6ab63fa4f2f853018cdfc4686eeb27afedd..55dc0d0ece5e5820fa03adadf179ced6c6ffb39e 100644
--- a/content/public/test/test_utils.h
+++ b/content/public/test/test_utils.h
@@ -34,13 +34,6 @@ void RunMessageLoop();
// Variant of RunMessageLoop that takes RunLoop.
void RunThisRunLoop(base::RunLoop* run_loop);
-// Adds pre/post hooks to call when running a message loop.
-// DEPRECATED: Please do not use in new code.
-// TODO(phajdan.jr): Remove message loop hooks after switch to Aura.
-typedef base::Callback<void(base::RunLoop*)> RunMessageLoopHook;
-void AddPreRunMessageLoopHook(const RunMessageLoopHook& hook);
-void AddPostRunMessageLoopHook(const RunMessageLoopHook& hook);
-
// Turns on nestable tasks, runs all pending tasks in the message loop,
// then resets nestable tasks to what they were originally. Prefer this
// over MessageLoop::RunAllPending for in process browser tests to run
« no previous file with comments | « content/public/test/test_launcher.h ('k') | content/public/test/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698