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_OBSERVER_H_ | 5 #ifndef COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_OBSERVER_H_ |
6 #define COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_OBSERVER_H_ | 6 #define COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_OBSERVER_H_ |
7 | 7 |
8 namespace arc { | 8 namespace arc { |
9 | 9 |
10 class ArcIntentHelperObserver { | 10 class ArcIntentHelperObserver { |
11 public: | 11 public: |
12 // Called when app's intent filter is updated. | 12 // Called when app's intent filter is updated. |
13 virtual void OnAppsUpdated() = 0; | 13 virtual void OnAppsUpdated() = 0; |
14 | |
15 protected: | |
16 virtual ~ArcIntentHelperObserver() = default; | 14 virtual ~ArcIntentHelperObserver() = default; |
17 }; | 15 }; |
18 | 16 |
19 } // namespace arc | 17 } // namespace arc |
20 | 18 |
21 #endif // COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_OBSERVER_H_ | 19 #endif // COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_OBSERVER_H_ |
OLD | NEW |