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

Unified Diff: ui/arc/notification/arc_notification_manager_unittest.cc

Issue 1885683005: Add module suffix in .mojom files for components/arc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/arc/notification/arc_notification_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/arc/notification/arc_notification_manager_unittest.cc
diff --git a/ui/arc/notification/arc_notification_manager_unittest.cc b/ui/arc/notification/arc_notification_manager_unittest.cc
index f9d066fbe8c9778aab922079c2ceb0903098e4fd..94570f5bed9a8dc435db1cd854ba417079a6e0a8 100644
--- a/ui/arc/notification/arc_notification_manager_unittest.cc
+++ b/ui/arc/notification/arc_notification_manager_unittest.cc
@@ -89,7 +89,7 @@ class ArcNotificationManagerTest : public testing::Test {
}
std::string CreateNotificationWithKey(const std::string& key) {
- auto data = ArcNotificationData::New();
+ auto data = mojom::ArcNotificationData::New();
data->key = key;
data->title = "TITLE";
data->message = "MESSAGE";
@@ -110,7 +110,7 @@ class ArcNotificationManagerTest : public testing::Test {
std::unique_ptr<MockMessageCenter> message_center_;
void SetUp() override {
- NotificationsInstancePtr arc_notifications_instance;
+ mojom::NotificationsInstancePtr arc_notifications_instance;
arc_notifications_instance_.reset(
new FakeNotificationsInstance(GetProxy(&arc_notifications_instance)));
service_.reset(new FakeArcBridgeService());
@@ -167,7 +167,7 @@ TEST_F(ArcNotificationManagerTest, NotificationRemovedByChrome) {
ASSERT_EQ(1u, arc_notifications_instance()->events().size());
EXPECT_EQ(key, arc_notifications_instance()->events().at(0).first);
- EXPECT_EQ(ArcNotificationEvent::CLOSED,
+ EXPECT_EQ(mojom::ArcNotificationEvent::CLOSED,
arc_notifications_instance()->events().at(0).second);
}
« no previous file with comments | « ui/arc/notification/arc_notification_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698