Chromium Code Reviews| Index: components/arc/tts/arc_tts_service.h |
| diff --git a/components/arc/tts/arc_tts_service.h b/components/arc/tts/arc_tts_service.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..4994f4d2df809837fdb193546df3aa56e06dffc6 |
| --- /dev/null |
| +++ b/components/arc/tts/arc_tts_service.h |
| @@ -0,0 +1,32 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef COMPONENTS_ARC_TTS_ARC_TTS_SERVICE_H_ |
| +#define COMPONENTS_ARC_TTS_ARC_TTS_SERVICE_H_ |
| + |
| +#include "base/macros.h" |
| +#include "components/arc/arc_service.h" |
| +#include "components/arc/common/tts.mojom.h" |
| +#include "components/arc/instance_holder.h" |
| + |
| +namespace arc { |
| + |
| +class ArcBridgeService; |
| + |
| +class ArcTtsService : public ArcService, |
|
hidehiko
2016/07/29 09:25:53
This is no longer needed here. Instead you'll need
David Tseng
2016/08/01 20:21:41
Sorry; yes, this was actually all that was needed
|
| + public InstanceHolder<mojom::TtsInstance>::Observer { |
| + public: |
| + explicit ArcTtsService(ArcBridgeService* bridge_service); |
| + ~ArcTtsService() override; |
| + |
| + // InstanceHolder<mojom::TtsInstance>::Observer overrides: |
| + void OnInstanceReady() override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ArcTtsService); |
| +}; |
| + |
| +} // namespace arc |
| + |
| +#endif // COMPONENTS_ARC_TTS_ARC_TTS_SERVICE_H_ |