| 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 88f68c06d3e38f8e67fe299412057928034b6f21..1cc91802cf67064d46469ca5243ced0e5b937e32 100644
|
| --- a/components/arc/test/fake_notifications_instance.h
|
| +++ b/components/arc/test/fake_notifications_instance.h
|
| @@ -5,6 +5,9 @@
|
| #ifndef COMPONENTS_ARC_TEST_FAKE_NOTIFICATIONS_INSTANCE_H_
|
| #define COMPONENTS_ARC_TEST_FAKE_NOTIFICATIONS_INSTANCE_H_
|
|
|
| +#include <utility>
|
| +#include <vector>
|
| +
|
| #include "components/arc/common/notifications.mojom.h"
|
| #include "components/arc/test/fake_arc_bridge_instance.h"
|
|
|
| @@ -12,8 +15,7 @@ namespace arc {
|
|
|
| class FakeNotificationsInstance : public mojom::NotificationsInstance {
|
| public:
|
| - FakeNotificationsInstance(
|
| - mojo::InterfaceRequest<mojom::NotificationsInstance> request);
|
| + FakeNotificationsInstance();
|
| ~FakeNotificationsInstance() override;
|
|
|
| void Init(mojom::NotificationsHostPtr host_ptr) override;
|
| @@ -25,13 +27,9 @@ class FakeNotificationsInstance : public mojom::NotificationsInstance {
|
| const std::vector<std::pair<mojo::String, mojom::ArcNotificationEvent>>&
|
| events() const;
|
|
|
| - void WaitForIncomingMethodCall();
|
| -
|
| private:
|
| std::vector<std::pair<mojo::String, mojom::ArcNotificationEvent>> events_;
|
|
|
| - mojo::Binding<mojom::NotificationsInstance> binding_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(FakeNotificationsInstance);
|
| };
|
|
|
|
|