OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chrome/browser/signin/signin_error_notifier_ash.h" | 5 #include "chrome/browser/signin/signin_error_notifier_ash.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "ash/test/ash_test_base.h" | 9 #include "ash/test/ash_test_base.h" |
| 10 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "build/build_config.h" |
9 #include "chrome/browser/browser_process.h" | 13 #include "chrome/browser/browser_process.h" |
10 #include "chrome/browser/notifications/notification.h" | 14 #include "chrome/browser/notifications/notification.h" |
11 #include "chrome/browser/notifications/notification_ui_manager.h" | 15 #include "chrome/browser/notifications/notification_ui_manager.h" |
12 #include "chrome/browser/signin/fake_signin_manager_builder.h" | 16 #include "chrome/browser/signin/fake_signin_manager_builder.h" |
13 #include "chrome/browser/signin/signin_error_controller_factory.h" | 17 #include "chrome/browser/signin/signin_error_controller_factory.h" |
14 #include "chrome/browser/signin/signin_error_notifier_factory_ash.h" | 18 #include "chrome/browser/signin/signin_error_notifier_factory_ash.h" |
15 #include "chrome/browser/signin/signin_manager_factory.h" | 19 #include "chrome/browser/signin/signin_manager_factory.h" |
16 #include "chrome/test/base/testing_browser_process.h" | 20 #include "chrome/test/base/testing_browser_process.h" |
17 #include "chrome/test/base/testing_profile.h" | 21 #include "chrome/test/base/testing_profile.h" |
18 #include "chrome/test/base/testing_profile_manager.h" | 22 #include "chrome/test/base/testing_profile_manager.h" |
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 EXPECT_FALSE(notification->title().empty()); | 249 EXPECT_FALSE(notification->title().empty()); |
246 EXPECT_FALSE(notification->message().empty()); | 250 EXPECT_FALSE(notification->message().empty()); |
247 EXPECT_EQ((size_t)1, notification->buttons().size()); | 251 EXPECT_EQ((size_t)1, notification->buttons().size()); |
248 } | 252 } |
249 } | 253 } |
250 } | 254 } |
251 #endif | 255 #endif |
252 | 256 |
253 } // namespace test | 257 } // namespace test |
254 } // namespace ash | 258 } // namespace ash |
OLD | NEW |