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

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

Issue 11347004: content/browser: Move speech code into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 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_streaming_remote_engine.h
diff --git a/content/browser/speech/google_streaming_remote_engine.h b/content/browser/speech/google_streaming_remote_engine.h
index df46b4abf112022d9cf14e411643e63c39b308ef..7a608954cf6250b3a7bd65b5f57d2eea06f61cbf 100644
--- a/content/browser/speech/google_streaming_remote_engine.h
+++ b/content/browser/speech/google_streaming_remote_engine.h
@@ -20,18 +20,15 @@
#include "googleurl/src/gurl.h"
#include "net/url_request/url_fetcher_delegate.h"
-namespace content {
-struct SpeechRecognitionError;
-struct SpeechRecognitionResult;
-}
-
namespace net {
class URLRequestContextGetter;
}
-namespace speech {
+namespace content {
class AudioChunk;
+struct SpeechRecognitionError;
+struct SpeechRecognitionResult;
// Implements a SpeechRecognitionEngine supporting continuous recognition by
// means of interaction with Google streaming speech recognition webservice.
@@ -138,7 +135,7 @@ class CONTENT_EXPORT GoogleStreamingRemoteEngine
FSMState CloseDownstream(const FSMEventArgs& event_args);
FSMState AbortSilently(const FSMEventArgs& event_args);
FSMState AbortWithError(const FSMEventArgs& event_args);
- FSMState Abort(content::SpeechRecognitionErrorCode error);
+ FSMState Abort(SpeechRecognitionErrorCode error);
FSMState DoNothing(const FSMEventArgs& event_args);
FSMState NotFeasible(const FSMEventArgs& event_args);
@@ -159,6 +156,6 @@ class CONTENT_EXPORT GoogleStreamingRemoteEngine
DISALLOW_COPY_AND_ASSIGN(GoogleStreamingRemoteEngine);
};
-} // namespace speech
+} // namespace content
#endif // CONTENT_BROWSER_SPEECH_GOOGLE_STREAMING_REMOTE_ENGINE_H_

Powered by Google App Engine
This is Rietveld 408576698