Chromium Code Reviews| Index: components/arc/intent_helper/arc_intent_helper_observer.h |
| diff --git a/components/arc/intent_helper/arc_intent_helper_observer.h b/components/arc/intent_helper/arc_intent_helper_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d8cc87e7d65c95973ec0c53c029b2a0648af770a |
| --- /dev/null |
| +++ b/components/arc/intent_helper/arc_intent_helper_observer.h |
| @@ -0,0 +1,21 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
|
Yusuke Sato
2016/11/28 19:24:54
I suggested you define the interface in a separate
oka
2016/11/29 06:56:49
OK. I'd wait for @hidehiko's input.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_OBSERVER_H_ |
| +#define COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_OBSERVER_H_ |
| + |
| +namespace arc { |
| + |
| +class ArcIntentHelperObserver { |
| + public: |
| + // Called when app's intent filter is updated. |
| + virtual void OnAppsUpdated() = 0; |
| + |
| + protected: |
| + virtual ~ArcIntentHelperObserver() = default; |
| +}; |
| + |
| +} // namespace arc |
| + |
| +#endif // COMPONENTS_ARC_INTENT_HELPER_ARC_INTENT_HELPER_OBSERVER_H_ |