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

Side by Side Diff: chrome/browser/download/notification/download_notification_browsertest.cc

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 <stddef.h> 5 #include <stddef.h>
6 #include <utility> 6 #include <utility>
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
11 #include "base/path_service.h" 11 #include "base/path_service.h"
12 #include "base/run_loop.h" 12 #include "base/run_loop.h"
13 #include "base/strings/utf_string_conversions.h" 13 #include "base/strings/utf_string_conversions.h"
14 #include "chrome/browser/chromeos/profiles/profile_helper.h" 14 #include "chrome/browser/chromeos/profiles/profile_helper.h"
15 #include "chrome/browser/download/chrome_download_manager_delegate.h" 15 #include "chrome/browser/download/chrome_download_manager_delegate.h"
16 #include "chrome/browser/download/download_core_service.h" 16 #include "chrome/browser/download/download_core_service.h"
17 #include "chrome/browser/download/download_core_service_factory.h" 17 #include "chrome/browser/download/download_core_service_factory.h"
18 #include "chrome/browser/download/download_prefs.h" 18 #include "chrome/browser/download/download_prefs.h"
19 #include "chrome/browser/profiles/profile.h" 19 #include "chrome/browser/profiles/profile.h"
20 #include "chrome/browser/signin/signin_manager_factory.h" 20 #include "chrome/browser/signin/signin_manager_factory.h"
21 #include "chrome/browser/ui/browser.h" 21 #include "chrome/browser/ui/browser.h"
22 #include "chrome/browser/ui/browser_commands.h" 22 #include "chrome/browser/ui/browser_commands.h"
23 #include "chrome/common/chrome_paths.h" 23 #include "chrome/common/chrome_paths.h"
24 #include "chrome/common/chrome_switches.h" 24 #include "chrome/common/chrome_switches.h"
25 #include "chrome/common/pref_names.h" 25 #include "chrome/common/pref_names.h"
26 #include "chrome/grit/chromium_strings.h"
27 #include "chrome/grit/generated_resources.h" 26 #include "chrome/grit/generated_resources.h"
28 #include "chrome/grit/theme_resources.h"
29 #include "chrome/test/base/in_process_browser_test.h" 27 #include "chrome/test/base/in_process_browser_test.h"
30 #include "chrome/test/base/ui_test_utils.h" 28 #include "chrome/test/base/ui_test_utils.h"
31 #include "chromeos/chromeos_switches.h" 29 #include "chromeos/chromeos_switches.h"
32 #include "components/prefs/pref_service.h" 30 #include "components/prefs/pref_service.h"
33 #include "components/session_manager/core/session_manager.h" 31 #include "components/session_manager/core/session_manager.h"
34 #include "components/signin/core/browser/signin_manager_base.h" 32 #include "components/signin/core/browser/signin_manager_base.h"
35 #include "content/public/browser/browser_context.h" 33 #include "content/public/browser/browser_context.h"
36 #include "content/public/browser/download_item.h" 34 #include "content/public/browser/download_item.h"
37 #include "content/public/browser/download_manager.h" 35 #include "content/public/browser/download_manager.h"
38 #include "content/public/test/download_test_observer.h" 36 #include "content/public/test/download_test_observer.h"
(...skipping 1260 matching lines...) Expand 10 before | Expand all | Expand 10 after
1299 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, 1297 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
1300 GetNotification(notification_id_user1)->type()); 1298 GetNotification(notification_id_user1)->type());
1301 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, 1299 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
1302 GetNotification(notification_id_user2_1)->type()); 1300 GetNotification(notification_id_user2_1)->type());
1303 // Normal notifications for user2. 1301 // Normal notifications for user2.
1304 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, 1302 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
1305 GetNotification(notification_id_user2_1)->type()); 1303 GetNotification(notification_id_user2_1)->type());
1306 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, 1304 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT,
1307 GetNotification(notification_id_user2_2)->type()); 1305 GetNotification(notification_id_user2_2)->type());
1308 } 1306 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698