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_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_ | 5 #ifndef COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_ |
6 #define COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_ | 6 #define COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 11 matching lines...) Expand all Loading... |
22 | 22 |
23 class LinkHandlerModel; | 23 class LinkHandlerModel; |
24 | 24 |
25 } // namespace ash | 25 } // namespace ash |
26 | 26 |
27 namespace arc { | 27 namespace arc { |
28 | 28 |
29 class ActivityIconLoader; | 29 class ActivityIconLoader; |
30 class ArcBridgeService; | 30 class ArcBridgeService; |
31 class LocalActivityResolver; | 31 class LocalActivityResolver; |
32 class SetWallpaperDelegate; | |
33 | 32 |
34 // Receives intents from ARC. | 33 // Receives intents from ARC. |
35 class ArcIntentHelperBridge | 34 class ArcIntentHelperBridge |
36 : public ArcService, | 35 : public ArcService, |
37 public InstanceHolder<mojom::IntentHelperInstance>::Observer, | 36 public InstanceHolder<mojom::IntentHelperInstance>::Observer, |
38 public mojom::IntentHelperHost, | 37 public mojom::IntentHelperHost, |
39 public ash::LinkHandlerModelFactory { | 38 public ash::LinkHandlerModelFactory { |
40 public: | 39 public: |
41 enum class GetResult { | 40 enum class GetResult { |
42 // Failed. The intent_helper instance is not yet ready. This is a temporary | 41 // Failed. The intent_helper instance is not yet ready. This is a temporary |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 scoped_refptr<LocalActivityResolver> activity_resolver_; | 96 scoped_refptr<LocalActivityResolver> activity_resolver_; |
98 | 97 |
99 base::ThreadChecker thread_checker_; | 98 base::ThreadChecker thread_checker_; |
100 | 99 |
101 DISALLOW_COPY_AND_ASSIGN(ArcIntentHelperBridge); | 100 DISALLOW_COPY_AND_ASSIGN(ArcIntentHelperBridge); |
102 }; | 101 }; |
103 | 102 |
104 } // namespace arc | 103 } // namespace arc |
105 | 104 |
106 #endif // COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_ | 105 #endif // COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_BRIDGE_H_ |
OLD | NEW |