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

Side by Side Diff: chrome/browser/extensions/api/notifications/notifications_apitest.cc

Issue 2876013002: Add missing IWYU message_loop.h includes. (Closed)
Patch Set: fix upstream 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/message_loop/message_loop.h"
5 #include "base/strings/string_number_conversions.h" 6 #include "base/strings/string_number_conversions.h"
6 #include "base/strings/stringprintf.h" 7 #include "base/strings/stringprintf.h"
7 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
8 #include "base/test/scoped_feature_list.h" 9 #include "base/test/scoped_feature_list.h"
9 #include "build/build_config.h" 10 #include "build/build_config.h"
10 #include "chrome/browser/apps/app_browsertest_util.h" 11 #include "chrome/browser/apps/app_browsertest_util.h"
11 #include "chrome/browser/extensions/api/notifications/extension_notification_dis play_helper.h" 12 #include "chrome/browser/extensions/api/notifications/extension_notification_dis play_helper.h"
12 #include "chrome/browser/extensions/api/notifications/extension_notification_dis play_helper_factory.h" 13 #include "chrome/browser/extensions/api/notifications/extension_notification_dis play_helper_factory.h"
13 #include "chrome/browser/extensions/api/notifications/notifications_api.h" 14 #include "chrome/browser/extensions/api/notifications/notifications_api.h"
14 #include "chrome/browser/extensions/extension_apitest.h" 15 #include "chrome/browser/extensions/extension_apitest.h"
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 ASSERT_TRUE(GetFirstAppWindow(extension->id())->GetBaseWindow()->IsActive()) 547 ASSERT_TRUE(GetFirstAppWindow(extension->id())->GetBaseWindow()->IsActive())
547 << "Not Active"; 548 << "Not Active";
548 549
549 Notification* notification = GetNotificationForExtension(extension); 550 Notification* notification = GetNotificationForExtension(extension);
550 ASSERT_TRUE(notification); 551 ASSERT_TRUE(notification);
551 552
552 // The extension's window is being shown and focused, so its expected that 553 // The extension's window is being shown and focused, so its expected that
553 // the notification displays on top of it. 554 // the notification displays on top of it.
554 ASSERT_TRUE(notification->delegate()->ShouldDisplayOverFullscreen()); 555 ASSERT_TRUE(notification->delegate()->ShouldDisplayOverFullscreen());
555 } 556 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698