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

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

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
« no previous file with comments | « components/arc/BUILD.gn ('k') | components/arc/test/fake_notifications_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/test/fake_notifications_instance.h
diff --git a/components/arc/test/fake_notifications_instance.h b/components/arc/test/fake_notifications_instance.h
index 4e52c5bb2c91758252c512132d9c3d987552be30..a615a4d1520e7725ba00b7798efa7047c5520582 100644
--- a/components/arc/test/fake_notifications_instance.h
+++ b/components/arc/test/fake_notifications_instance.h
@@ -5,6 +5,7 @@
#ifndef COMPONENTS_ARC_TEST_FAKE_NOTIFICATIONS_INSTANCE_H_
#define COMPONENTS_ARC_TEST_FAKE_NOTIFICATIONS_INSTANCE_H_
+#include <string>
#include <utility>
#include <vector>
@@ -20,16 +21,16 @@ class FakeNotificationsInstance : public mojom::NotificationsInstance {
void Init(mojom::NotificationsHostPtr host_ptr) override;
void SendNotificationEventToAndroid(
- const mojo::String& key,
+ const std::string& key,
mojom::ArcNotificationEvent event) override;
- void CreateNotificationWindow(const mojo::String& key) override;
- void CloseNotificationWindow(const mojo::String& key) override;
+ void CreateNotificationWindow(const std::string& key) override;
+ void CloseNotificationWindow(const std::string& key) override;
- const std::vector<std::pair<mojo::String, mojom::ArcNotificationEvent>>&
+ const std::vector<std::pair<std::string, mojom::ArcNotificationEvent>>&
events() const;
private:
- std::vector<std::pair<mojo::String, mojom::ArcNotificationEvent>> events_;
+ std::vector<std::pair<std::string, mojom::ArcNotificationEvent>> events_;
DISALLOW_COPY_AND_ASSIGN(FakeNotificationsInstance);
};
« no previous file with comments | « components/arc/BUILD.gn ('k') | components/arc/test/fake_notifications_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698