| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "ui/message_center/message_center_impl.h" | 5 #include "ui/message_center/message_center_impl.h" |
| 6 | 6 |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
| 10 #include "base/strings/utf_string_conversions.h" | 10 #include "base/strings/utf_string_conversions.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "ui/message_center/message_center.h" | 12 #include "ui/message_center/message_center.h" |
| 13 #include "ui/message_center/notification_types.h" | 13 #include "ui/message_center/notification_types.h" |
| 14 | 14 |
| 15 namespace message_center { | 15 namespace message_center { |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 class MessageCenterImplTest : public testing::Test, | 18 class MessageCenterImplTest : public testing::Test, |
| (...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 run_loop()->Run(); | 202 run_loop()->Run(); |
| 203 | 203 |
| 204 EXPECT_EQ(popup_timers_controller->last_id(), "test"); | 204 EXPECT_EQ(popup_timers_controller->last_id(), "test"); |
| 205 EXPECT_TRUE(popup_timers_controller->timer_finished()); | 205 EXPECT_TRUE(popup_timers_controller->timer_finished()); |
| 206 } | 206 } |
| 207 | 207 |
| 208 } // namespace internal | 208 } // namespace internal |
| 209 | 209 |
| 210 } // namespace message_center | 210 } // namespace message_center |
| OLD | NEW |