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/voice_search_provider.mm

Issue 2457093002: [ios] Adds VoiceSearchProvider::IsVoiceSearchEnabled(). (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « ios/public/provider/chrome/browser/voice/voice_search_provider.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "ios/public/provider/chrome/browser/voice/voice_search_provider.h" 5 #import "ios/public/provider/chrome/browser/voice/voice_search_provider.h"
6 6
7 #import "ios/public/provider/chrome/browser/voice/voice_search_controller.h" 7 #import "ios/public/provider/chrome/browser/voice/voice_search_controller.h"
8 8
9 bool VoiceSearchProvider::IsVoiceSearchEnabled() const {
10 return false;
11 }
12
9 NSArray* VoiceSearchProvider::GetAvailableLanguages() const { 13 NSArray* VoiceSearchProvider::GetAvailableLanguages() const {
10 return @[]; 14 return @[];
11 } 15 }
12 16
13 AudioSessionController* VoiceSearchProvider::GetAudioSessionController() const { 17 AudioSessionController* VoiceSearchProvider::GetAudioSessionController() const {
14 return nullptr; 18 return nullptr;
15 } 19 }
16 20
17 scoped_refptr<VoiceSearchController> 21 scoped_refptr<VoiceSearchController>
18 VoiceSearchProvider::CreateVoiceSearchController( 22 VoiceSearchProvider::CreateVoiceSearchController(
19 ios::ChromeBrowserState* browser_state) const { 23 ios::ChromeBrowserState* browser_state) const {
20 return scoped_refptr<VoiceSearchController>(nullptr); 24 return scoped_refptr<VoiceSearchController>(nullptr);
21 } 25 }
22 26
23 UIView<VoiceSearchBar>* VoiceSearchProvider::CreateVoiceSearchBar( 27 UIView<VoiceSearchBar>* VoiceSearchProvider::CreateVoiceSearchBar(
24 CGRect frame) const { 28 CGRect frame) const {
25 return nil; 29 return nil;
26 } 30 }
OLDNEW
« no previous file with comments | « ios/public/provider/chrome/browser/voice/voice_search_provider.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698