summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/api/declarative/declarative_apitest.cc
diff options
context:
space:
mode:
authorjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-30 21:09:44 +0000
committerjam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-30 21:09:44 +0000
commitb8deecd6a24d518e6c1e068f2da08df5dff37961 (patch)
tree41a0d82da9740a5caf00f3e0eb30e9946627ab73 /chrome/browser/extensions/api/declarative/declarative_apitest.cc
parentefde5180b77b647ad8d33faf1e256f1ac11cecf3 (diff)
downloadchromium_src-b8deecd6a24d518e6c1e068f2da08df5dff37961.zip
chromium_src-b8deecd6a24d518e6c1e068f2da08df5dff37961.tar.gz
chromium_src-b8deecd6a24d518e6c1e068f2da08df5dff37961.tar.bz2
Move RunAllPendingInMessageLoop from ui_test_utils.h to test_utils.h, so that it can be reused by content_browsertests. I put it in test_utils.h instead of browser_test_utils.h because this is also used by unit tests.
BUG=90448 Review URL: https://chromiumcodereview.appspot.com/10825085 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@149026 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/api/declarative/declarative_apitest.cc')
-rw-r--r--chrome/browser/extensions/api/declarative/declarative_apitest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/extensions/api/declarative/declarative_apitest.cc b/chrome/browser/extensions/api/declarative/declarative_apitest.cc
index 1e7bac01..4ae46a4 100644
--- a/chrome/browser/extensions/api/declarative/declarative_apitest.cc
+++ b/chrome/browser/extensions/api/declarative/declarative_apitest.cc
@@ -59,7 +59,7 @@ IN_PROC_BROWSER_TEST_F(DeclarativeApiTest, DeclarativeApi) {
base::Bind(base::IgnoreResult(&RulesRegistry::GetAllRules),
rules_registry, extension_id, &known_rules));
- ui_test_utils::RunAllPendingInMessageLoop(rules_registry->GetOwnerThread());
+ content::RunAllPendingInMessageLoop(rules_registry->GetOwnerThread());
EXPECT_TRUE(known_rules.empty());
}