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

Unified Diff: content/browser/speech/google_one_shot_remote_engine.h

Issue 10703141: End-to-end browser tests for speech recognition. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/browser/speech/google_one_shot_remote_engine.h
diff --git a/content/browser/speech/google_one_shot_remote_engine.h b/content/browser/speech/google_one_shot_remote_engine.h
index 34942b3b2b6fe87ab9e30f8784c727749446157b..04baa8f3eb1b6146fd7355938dda8126b853cdd8 100644
--- a/content/browser/speech/google_one_shot_remote_engine.h
+++ b/content/browser/speech/google_one_shot_remote_engine.h
@@ -36,7 +36,8 @@ class CONTENT_EXPORT GoogleOneShotRemoteEngine
public net::URLFetcherDelegate {
public:
// Duration of each audio packet.
- static const int kAudioPacketIntervalMs;
+ enum { kAudioPacketIntervalMs = 100 };
+
// ID passed to URLFetcher::Create(). Used for testing.
static int url_fetcher_id_for_tests;

Powered by Google App Engine
This is Rietveld 408576698