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

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

Issue 14113053: chrome: Use base::MessageLoop. (Part 3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase again Created 7 years, 7 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_action_unittest.cc
diff --git a/chrome/browser/extensions/extension_action_unittest.cc b/chrome/browser/extensions/extension_action_unittest.cc
index 6c2ca63135075cab09fe82f999cac5a4a9faf7b1..2aba574e6a2fa2b5df8efa82a2d471c4598768b3 100644
--- a/chrome/browser/extensions/extension_action_unittest.cc
+++ b/chrome/browser/extensions/extension_action_unittest.cc
@@ -59,7 +59,7 @@ TEST(ExtensionActionTest, Visibility) {
TEST(ExtensionActionTest, ScriptBadgeAnimation) {
// Supports the icon animation.
- MessageLoop message_loop;
+ base::MessageLoop message_loop;
ExtensionAction script_badge(
std::string(), ActionInfo::TYPE_SCRIPT_BADGE, ActionInfo());
@@ -83,7 +83,7 @@ TEST(ExtensionActionTest, ScriptBadgeAnimation) {
TEST(ExtensionActionTest, GetAttention) {
// Supports the icon animation.
- scoped_ptr<MessageLoop> message_loop(new MessageLoop);
+ scoped_ptr<base::MessageLoop> message_loop(new base::MessageLoop);
ExtensionAction script_badge(
std::string(), ActionInfo::TYPE_SCRIPT_BADGE, ActionInfo());
@@ -95,7 +95,7 @@ TEST(ExtensionActionTest, GetAttention) {
// Simulate waiting long enough for the animation to end.
message_loop.reset(); // Can't have 2 MessageLoops alive at once.
- message_loop.reset(new MessageLoop);
+ message_loop.reset(new base::MessageLoop);
EXPECT_FALSE(script_badge.GetIconAnimation(1)); // Sanity check.
script_badge.SetAppearance(1, ExtensionAction::ACTIVE);
« no previous file with comments | « chrome/browser/extensions/extension_action_icon_factory_unittest.cc ('k') | chrome/browser/extensions/extension_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698