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

Side by Side Diff: chrome/browser/notifications/notification_interactive_uitest.cc

Issue 2424773002: Add missing exclusive_access_manager.h includes (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/notifications/notification_test_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <deque> 5 #include <deque>
6 #include <string> 6 #include <string>
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 14 matching lines...) Expand all
25 #include "chrome/browser/notifications/desktop_notification_profile_util.h" 25 #include "chrome/browser/notifications/desktop_notification_profile_util.h"
26 #include "chrome/browser/notifications/notification.h" 26 #include "chrome/browser/notifications/notification.h"
27 #include "chrome/browser/notifications/notification_test_util.h" 27 #include "chrome/browser/notifications/notification_test_util.h"
28 #include "chrome/browser/notifications/web_notification_delegate.h" 28 #include "chrome/browser/notifications/web_notification_delegate.h"
29 #include "chrome/browser/permissions/permission_request_manager.h" 29 #include "chrome/browser/permissions/permission_request_manager.h"
30 #include "chrome/browser/profiles/profile.h" 30 #include "chrome/browser/profiles/profile.h"
31 #include "chrome/browser/ui/browser.h" 31 #include "chrome/browser/ui/browser.h"
32 #include "chrome/browser/ui/browser_tabstrip.h" 32 #include "chrome/browser/ui/browser_tabstrip.h"
33 #include "chrome/browser/ui/browser_window.h" 33 #include "chrome/browser/ui/browser_window.h"
34 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h" 34 #include "chrome/browser/ui/exclusive_access/exclusive_access_context.h"
35 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h"
35 #include "chrome/browser/ui/tabs/tab_strip_model.h" 36 #include "chrome/browser/ui/tabs/tab_strip_model.h"
36 #include "chrome/common/chrome_features.h" 37 #include "chrome/common/chrome_features.h"
37 #include "chrome/test/base/in_process_browser_test.h" 38 #include "chrome/test/base/in_process_browser_test.h"
38 #include "chrome/test/base/interactive_test_utils.h" 39 #include "chrome/test/base/interactive_test_utils.h"
39 #include "chrome/test/base/ui_test_utils.h" 40 #include "chrome/test/base/ui_test_utils.h"
40 #include "components/content_settings/core/browser/host_content_settings_map.h" 41 #include "components/content_settings/core/browser/host_content_settings_map.h"
41 #include "components/content_settings/core/common/content_settings.h" 42 #include "components/content_settings/core/common/content_settings.h"
42 #include "components/content_settings/core/common/content_settings_pattern.h" 43 #include "components/content_settings/core/common/content_settings_pattern.h"
43 #include "content/public/browser/notification_service.h" 44 #include "content/public/browser/notification_service.h"
44 #include "content/public/browser/notification_source.h" 45 #include "content/public/browser/notification_source.h"
(...skipping 1034 matching lines...) Expand 10 before | Expand all | Expand 10 after
1079 browser()->window()->GetNativeWindow())); 1080 browser()->window()->GetNativeWindow()));
1080 1081
1081 std::string result = CreateSimpleNotification(browser(), true); 1082 std::string result = CreateSimpleNotification(browser(), true);
1082 EXPECT_NE("-1", result); 1083 EXPECT_NE("-1", result);
1083 1084
1084 ASSERT_EQ(1, GetNotificationCount()); 1085 ASSERT_EQ(1, GetNotificationCount());
1085 message_center::NotificationList::PopupNotifications notifications = 1086 message_center::NotificationList::PopupNotifications notifications =
1086 message_center::MessageCenter::Get()->GetPopupNotifications(); 1087 message_center::MessageCenter::Get()->GetPopupNotifications();
1087 ASSERT_EQ(1u, notifications.size()); 1088 ASSERT_EQ(1u, notifications.size());
1088 } 1089 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/notifications/notification_test_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698