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

Unified Diff: chrome/browser/notifications/extension_welcome_notification_unittest.cc

Issue 2907493002: ChromeOS: Per-user time zone: refactor tests first. (Closed)
Patch Set: Fix debug build Created 3 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/notifications/extension_welcome_notification_unittest.cc
diff --git a/chrome/browser/notifications/extension_welcome_notification_unittest.cc b/chrome/browser/notifications/extension_welcome_notification_unittest.cc
index a46d881998089e6718085dc28fea68ef414e3b76..acaf8e8497292bb2c4d80a3d205076eefad1294d 100644
--- a/chrome/browser/notifications/extension_welcome_notification_unittest.cc
+++ b/chrome/browser/notifications/extension_welcome_notification_unittest.cc
@@ -139,6 +139,7 @@ class ExtensionWelcomeNotificationTest : public testing::Test {
task_runner_ = new base::TestSimpleTaskRunner();
base::MessageLoop::current()->SetTaskRunner(task_runner_);
profile_.reset(new TestingProfile());
+ task_runner()->RunUntilIdle();
delegate_ = new WelcomeNotificationDelegate();
welcome_notification_.reset(
ExtensionWelcomeNotification::Create(profile_.get(), delegate_));

Powered by Google App Engine
This is Rietveld 408576698