diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-30 21:09:44 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-30 21:09:44 +0000 |
commit | b8deecd6a24d518e6c1e068f2da08df5dff37961 (patch) | |
tree | 41a0d82da9740a5caf00f3e0eb30e9946627ab73 /chrome/browser/extensions/api/declarative/declarative_apitest.cc | |
parent | efde5180b77b647ad8d33faf1e256f1ac11cecf3 (diff) | |
download | chromium_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.cc | 2 |
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()); } |