| 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_TEST_VOICE_SEARCH_PROVIDER_H_ |
| 6 #define IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_TEST_VOICE_SEARCH_PROVIDER_H_ |
| 7 |
| 8 #include <memory> |
| 9 |
| 10 #include "base/macros.h" |
| 11 #include "ios/public/provider/chrome/browser/voice/voice_search_provider.h" |
| 12 |
| 13 // Test provider that returns dummy values or test objects. |
| 14 class TestVoiceSearchProvider : public VoiceSearchProvider { |
| 15 public: |
| 16 TestVoiceSearchProvider(); |
| 17 ~TestVoiceSearchProvider() override; |
| 18 |
| 19 // VoiceSearchProvider. |
| 20 NSArray* GetAvailableLanguages() const override; |
| 21 AudioSessionController* GetAudioSessionController() const override; |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(TestVoiceSearchProvider); |
| 25 }; |
| 26 |
| 27 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_TEST_VOICE_SEARCH_PROVIDER_H
_ |
| OLD | NEW |