Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: ios/public/provider/chrome/browser/voice/test_voice_search_provider.h

Issue 2432563002: [ios] Adds a provider API for AudioSessionController. (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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 namespace ios {
14
15 // Test provider that returns dummy values or test objects.
16 class TestVoiceSearchProvider : public VoiceSearchProvider {
17 public:
18 TestVoiceSearchProvider();
19 ~TestVoiceSearchProvider() override;
20
21 // VoiceSearchProvider.
22 NSArray* GetAvailableVoiceSearchLanguages() const override;
23 AudioSessionController* GetAudioSessionController() const override;
24
25 private:
26 DISALLOW_COPY_AND_ASSIGN(TestVoiceSearchProvider);
27 };
28
29 } // namespace ios
30
31 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_TEST_VOICE_SEARCH_PROVIDER_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698