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

Unified Diff: content/public/browser/speech_recognition_manager_delegate.h

Issue 10933018: Speech JavaScript API: Use the MediaStreamManager to ask for user permission. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address xians's comments Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/speech_recognition_manager_delegate.h
diff --git a/content/public/browser/speech_recognition_manager_delegate.h b/content/public/browser/speech_recognition_manager_delegate.h
index 4669e4e6fb5c13c67c34bf065b01657dc51035cd..7b729d16b30387eddc1d34270837002395039964 100644
--- a/content/public/browser/speech_recognition_manager_delegate.h
+++ b/content/public/browser/speech_recognition_manager_delegate.h
@@ -28,7 +28,7 @@ class SpeechRecognitionManagerDelegate {
// Checks (asynchronously) if current setup allows speech recognition.
virtual void CheckRecognitionIsAllowed(
int session_id,
- base::Callback<void(int session_id, bool is_allowed)> callback) = 0;
+ base::Callback<void(bool ask_user, bool is_allowed)> callback) = 0;
// Checks whether the delegate is interested (returning a non NULL ptr) or not
// (returning NULL) in receiving a copy of all sessions events.

Powered by Google App Engine
This is Rietveld 408576698