Commit d84b2b19 authored by Chris Lu's avatar Chris Lu Committed by Commit Bot

[ios] Remove BrowserState API of VoiceSearchProvider

Remove API now that codebase calls Browser API

Bug: 790886
Change-Id: I8ec3b8cae8621c47e31236d6a5552e35c478556a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2144463Reviewed-by: default avatarRohit Rao <rohitrao@chromium.org>
Commit-Queue: Chris Lu <thegreenfrog@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758532}
parent de8d1919
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
@protocol ApplicationCommands; @protocol ApplicationCommands;
class AudioSessionController; class AudioSessionController;
class Browser; class Browser;
class ChromeBrowserState;
class VoiceSearchController; class VoiceSearchController;
// VoiceSearchProvider allows embedders to provide functionality related to // VoiceSearchProvider allows embedders to provide functionality related to
...@@ -34,12 +33,7 @@ class VoiceSearchProvider { ...@@ -34,12 +33,7 @@ class VoiceSearchProvider {
// Returns the singleton audio session controller. // Returns the singleton audio session controller.
virtual AudioSessionController* GetAudioSessionController() const; virtual AudioSessionController* GetAudioSessionController() const;
// Creates a new VoiceSearchController object. TODO(crbug.com/790886): Remove // Creates a new VoiceSearchController object.
// the ChromeBrowserState constructor when the implementation for the Browser
// constructor finishes and all calls use that constructor. This is a part of
// the Brower-scoped migration.
virtual scoped_refptr<VoiceSearchController> CreateVoiceSearchController(
ChromeBrowserState* browser_state) const;
virtual scoped_refptr<VoiceSearchController> CreateVoiceSearchController( virtual scoped_refptr<VoiceSearchController> CreateVoiceSearchController(
Browser* browser) const; Browser* browser) const;
......
...@@ -22,12 +22,6 @@ AudioSessionController* VoiceSearchProvider::GetAudioSessionController() const { ...@@ -22,12 +22,6 @@ AudioSessionController* VoiceSearchProvider::GetAudioSessionController() const {
return nullptr; return nullptr;
} }
scoped_refptr<VoiceSearchController>
VoiceSearchProvider::CreateVoiceSearchController(
ChromeBrowserState* browser_state) const {
return scoped_refptr<VoiceSearchController>(nullptr);
}
scoped_refptr<VoiceSearchController> scoped_refptr<VoiceSearchController>
VoiceSearchProvider::CreateVoiceSearchController(Browser* browser) const { VoiceSearchProvider::CreateVoiceSearchController(Browser* browser) const {
return scoped_refptr<VoiceSearchController>(nullptr); return scoped_refptr<VoiceSearchController>(nullptr);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment