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

Unified Diff: content/browser/indexed_db/idbbindingutilities_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: content/browser/indexed_db/idbbindingutilities_browsertest.cc
===================================================================
--- content/browser/indexed_db/idbbindingutilities_browsertest.cc (revision 148497)
+++ content/browser/indexed_db/idbbindingutilities_browsertest.cc (working copy)
@@ -242,19 +242,19 @@
// This test fixture runs in the UI thread. However, most of the work done by
// UtilityProcessHost (and wrapped by IDBKeyPathHelper above) happens on the IO
// thread. This fixture delegates to IDBKeyPathHelper and blocks via
-// "ui_test_utils::RunMessageLoop()", until IDBKeyPathHelper posts a quit
+// "content::RunMessageLoop()", until IDBKeyPathHelper posts a quit
// message the MessageLoop.
class ScopedIDBKeyPathHelper {
public:
ScopedIDBKeyPathHelper() {
key_path_helper_ = new IDBKeyPathHelper();
key_path_helper_->CreateUtilityProcess();
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
~ScopedIDBKeyPathHelper() {
key_path_helper_->DestroyUtilityProcess();
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
void SetExpectedKeys(int id,
@@ -274,14 +274,14 @@
const IndexedDBKeyPath& key_path) {
key_path_helper_->CheckValuesForKeyPath(id, serialized_script_values,
key_path);
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
void CheckInjectValue(const IndexedDBKey& key,
const SerializedScriptValue& value,
const IndexedDBKeyPath& key_path) {
key_path_helper_->CheckInjectValue(key, value, key_path);
- ui_test_utils::RunMessageLoop();
+ content::RunMessageLoop();
}
private:
« no previous file with comments | « content/browser/download/mhtml_generation_browsertest.cc ('k') | content/browser/plugin_data_remover_impl_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698