OLD | NEW |
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> |
| 6 |
5 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/macros.h" |
6 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
7 #include "base/path_service.h" | 10 #include "base/path_service.h" |
8 #include "base/prefs/pref_service.h" | 11 #include "base/prefs/pref_service.h" |
9 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
10 #include "base/strings/utf_string_conversions.h" | 13 #include "base/strings/utf_string_conversions.h" |
11 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 14 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
12 #include "chrome/browser/download/chrome_download_manager_delegate.h" | 15 #include "chrome/browser/download/chrome_download_manager_delegate.h" |
13 #include "chrome/browser/download/download_prefs.h" | 16 #include "chrome/browser/download/download_prefs.h" |
14 #include "chrome/browser/download/download_service.h" | 17 #include "chrome/browser/download/download_service.h" |
15 #include "chrome/browser/download/download_service_factory.h" | 18 #include "chrome/browser/download/download_service_factory.h" |
(...skipping 1285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1301 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, | 1304 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, |
1302 GetNotification(notification_id_user1)->type()); | 1305 GetNotification(notification_id_user1)->type()); |
1303 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, | 1306 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, |
1304 GetNotification(notification_id_user2_1)->type()); | 1307 GetNotification(notification_id_user2_1)->type()); |
1305 // Normal notifications for user2. | 1308 // Normal notifications for user2. |
1306 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, | 1309 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, |
1307 GetNotification(notification_id_user2_1)->type()); | 1310 GetNotification(notification_id_user2_1)->type()); |
1308 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, | 1311 EXPECT_EQ(message_center::NOTIFICATION_TYPE_BASE_FORMAT, |
1309 GetNotification(notification_id_user2_2)->type()); | 1312 GetNotification(notification_id_user2_2)->type()); |
1310 } | 1313 } |
OLD | NEW |