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

Unified Diff: components/test_runner/mock_web_speech_recognizer.h

Issue 2617113002: Handle repeated and overlapping (re)starts of mock speechrecognizer. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | components/test_runner/mock_web_speech_recognizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/mock_web_speech_recognizer.h
diff --git a/components/test_runner/mock_web_speech_recognizer.h b/components/test_runner/mock_web_speech_recognizer.h
index 94c310618c9f19b5e3df3f5e2d47273e5531fb67..a25ea32af0829a75cfe36728324ddd3f1a1d9f58 100644
--- a/components/test_runner/mock_web_speech_recognizer.h
+++ b/components/test_runner/mock_web_speech_recognizer.h
@@ -71,6 +71,8 @@ class MockWebSpeechRecognizer : public blink::WebSpeechRecognizer {
void PostRunTaskFromQueue();
void RunTaskFromQueue();
+ bool HasPendingNewContextTasks() const;
+
blink::WebSpeechRecognitionHandle handle_;
blink::WebSpeechRecognizerClient* client_;
std::vector<blink::WebString> mock_transcripts_;
« no previous file with comments | « no previous file | components/test_runner/mock_web_speech_recognizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698