| 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 IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_ |
| 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_ |
| 7 |
| 8 #include <Foundation/Foundation.h> |
| 9 |
| 10 #include "base/macros.h" |
| 11 |
| 12 class AudioSessionController; |
| 13 |
| 14 // VoiceSearchProvider allows embedders to provide functionality related to |
| 15 // voice search. |
| 16 class VoiceSearchProvider { |
| 17 public: |
| 18 VoiceSearchProvider() = default; |
| 19 virtual ~VoiceSearchProvider() = default; |
| 20 |
| 21 // Returns the list of available voice search languages. |
| 22 virtual NSArray* GetAvailableLanguages() const; |
| 23 |
| 24 // Returns the singleton audio session controller. |
| 25 virtual AudioSessionController* GetAudioSessionController() const; |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(VoiceSearchProvider); |
| 29 }; |
| 30 |
| 31 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_ |
| OLD | NEW |