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

Unified Diff: chrome/browser/extensions/extension_browsertest.cc

Issue 10822030: Move ui_test_utils::RunMessageLoop to test_utils so that it can be reused by content_browsertests. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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: chrome/browser/extensions/extension_browsertest.cc
===================================================================
--- chrome/browser/extensions/extension_browsertest.cc (revision 148497)
+++ chrome/browser/extensions/extension_browsertest.cc (working copy)
@@ -85,7 +85,7 @@
extensions::UnpackedInstaller::Create(service));
installer->set_prompt_for_plugins(false);
installer->Load(path);
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
// Find the loaded extension by its path. See crbug.com/59531 for why
@@ -327,7 +327,7 @@
installer->InstallCrx(crx_path);
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
size_t num_after = service->extensions()->size();
@@ -423,7 +423,7 @@
if (!(*iter)->IsLoading()) {
++iter;
} else {
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
// Test activity may have modified the set of extension processes during
// message processing, so re-start the iteration to catch added/removed
« no previous file with comments | « chrome/browser/extensions/extension_apitest.cc ('k') | chrome/browser/extensions/extension_function_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698