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

Unified Diff: components/arc/test/fake_notifications_instance.cc

Issue 2496423004: arc: enable use_new_wrapper_types for notifications.mojom (Closed)
Patch Set: address comment Created 4 years, 1 month 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
Index: components/arc/test/fake_notifications_instance.cc
diff --git a/components/arc/test/fake_notifications_instance.cc b/components/arc/test/fake_notifications_instance.cc
index 5f8b73daadb5e888312bcf257eb6fe8aabaddcf1..3a9f631ae663244901feb5f797ce64216df2bd24 100644
--- a/components/arc/test/fake_notifications_instance.cc
+++ b/components/arc/test/fake_notifications_instance.cc
@@ -10,20 +10,20 @@ FakeNotificationsInstance::FakeNotificationsInstance() = default;
FakeNotificationsInstance::~FakeNotificationsInstance() = default;
void FakeNotificationsInstance::SendNotificationEventToAndroid(
- const mojo::String& key,
+ const std::string& key,
mojom::ArcNotificationEvent event) {
events_.emplace_back(key, event);
}
void FakeNotificationsInstance::CreateNotificationWindow(
- const mojo::String& key) {}
+ const std::string& key) {}
void FakeNotificationsInstance::CloseNotificationWindow(
- const mojo::String& key) {}
+ const std::string& key) {}
void FakeNotificationsInstance::Init(mojom::NotificationsHostPtr host_ptr) {}
-const std::vector<std::pair<mojo::String, mojom::ArcNotificationEvent>>&
+const std::vector<std::pair<std::string, mojom::ArcNotificationEvent>>&
FakeNotificationsInstance::events() const {
return events_;
}
« no previous file with comments | « components/arc/test/fake_notifications_instance.h ('k') | ui/arc/notification/arc_custom_notification_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698