Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_ARC_TTS_ARC_TTS_SERVICE_H_ | |
| 6 #define COMPONENTS_ARC_TTS_ARC_TTS_SERVICE_H_ | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "components/arc/arc_service.h" | |
| 10 #include "components/arc/common/tts.mojom.h" | |
| 11 #include "components/arc/instance_holder.h" | |
| 12 | |
| 13 namespace arc { | |
| 14 | |
| 15 class ArcBridgeService; | |
| 16 | |
| 17 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
| |
| 18 public InstanceHolder<mojom::TtsInstance>::Observer { | |
| 19 public: | |
| 20 explicit ArcTtsService(ArcBridgeService* bridge_service); | |
| 21 ~ArcTtsService() override; | |
| 22 | |
| 23 // InstanceHolder<mojom::TtsInstance>::Observer overrides: | |
| 24 void OnInstanceReady() override; | |
| 25 | |
| 26 private: | |
| 27 DISALLOW_COPY_AND_ASSIGN(ArcTtsService); | |
| 28 }; | |
| 29 | |
| 30 } // namespace arc | |
| 31 | |
| 32 #endif // COMPONENTS_ARC_TTS_ARC_TTS_SERVICE_H_ | |
| OLD | NEW |