OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 #ifndef COMPONENTS_ARC_TEST_FAKE_INTENT_HELPER_INSTANCE_H_ | 5 #ifndef COMPONENTS_ARC_TEST_FAKE_INTENT_HELPER_INSTANCE_H_ |
6 #define COMPONENTS_ARC_TEST_FAKE_INTENT_HELPER_INSTANCE_H_ | 6 #define COMPONENTS_ARC_TEST_FAKE_INTENT_HELPER_INSTANCE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "components/arc/common/intent_helper.mojom.h" | 12 #include "components/arc/common/intent_helper.mojom.h" |
13 #include "components/arc/test/fake_arc_bridge_instance.h" | |
14 #include "mojo/public/cpp/bindings/binding.h" | 13 #include "mojo/public/cpp/bindings/binding.h" |
15 | 14 |
16 namespace arc { | 15 namespace arc { |
17 | 16 |
18 class FakeIntentHelperInstance : public mojom::IntentHelperInstance { | 17 class FakeIntentHelperInstance : public mojom::IntentHelperInstance { |
19 public: | 18 public: |
20 FakeIntentHelperInstance(); | 19 FakeIntentHelperInstance(); |
21 | 20 |
22 class Broadcast { | 21 class Broadcast { |
23 public: | 22 public: |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 77 |
79 private: | 78 private: |
80 std::vector<Broadcast> broadcasts_; | 79 std::vector<Broadcast> broadcasts_; |
81 | 80 |
82 DISALLOW_COPY_AND_ASSIGN(FakeIntentHelperInstance); | 81 DISALLOW_COPY_AND_ASSIGN(FakeIntentHelperInstance); |
83 }; | 82 }; |
84 | 83 |
85 } // namespace arc | 84 } // namespace arc |
86 | 85 |
87 #endif // COMPONENTS_ARC_TEST_FAKE_POLICY_INSTANCE_H_ | 86 #endif // COMPONENTS_ARC_TEST_FAKE_POLICY_INSTANCE_H_ |
OLD | NEW |