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

Side by Side Diff: ios/public/provider/chrome/browser/voice/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_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 namespace ios {
15
16 // VoiceSearchProvider allows embedders to provide functionality related to
17 // voice search.
18 class VoiceSearchProvider {
19 public:
20 VoiceSearchProvider() = default;
21 virtual ~VoiceSearchProvider() = default;
22
23 // Returns the list of available voice search languages.
24 virtual NSArray* GetAvailableVoiceSearchLanguages() const;
rohitrao (ping after 24h) 2016/10/18 23:30:44 Renamed to GetAvailableLanguages(), because the "V
25
26 // Returns the singleton audio session controller.
27 virtual AudioSessionController* GetAudioSessionController() const;
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(VoiceSearchProvider);
31 };
32
33 } // namespace ios
34
35 #endif // IOS_PUBLIC_PROVIDER_CHROME_BROWSER_VOICE_VOICE_SEARCH_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698