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

Unified Diff: content/test/mock_google_streaming_server.cc

Issue 1891543002: Devirtualize SpeechRecognitionEngine (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@kill_one_shot_engine
Patch Set: drop an include Created 4 years, 8 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/test/mock_google_streaming_server.cc
diff --git a/content/test/mock_google_streaming_server.cc b/content/test/mock_google_streaming_server.cc
index 44b48d06db1914e0725cdb7cf5e26950565268be..b79ae0dd663ad98848cec47001857c23bee93025 100644
--- a/content/test/mock_google_streaming_server.cc
+++ b/content/test/mock_google_streaming_server.cc
@@ -14,8 +14,8 @@
#include "base/strings/utf_string_conversions.h"
#include "base/sys_byteorder.h"
#include "base/values.h"
-#include "content/browser/speech/google_streaming_remote_engine.h"
#include "content/browser/speech/proto/google_streaming_api.pb.h"
+#include "content/browser/speech/speech_recognition_engine.h"
#include "content/browser/speech/speech_recognition_manager_impl.h"
#include "net/base/escape.h"
#include "net/base/net_errors.h"
@@ -30,9 +30,9 @@ namespace content {
MockGoogleStreamingServer::MockGoogleStreamingServer(Delegate* delegate)
: delegate_(delegate),
kDownstreamUrlFetcherId(
- GoogleStreamingRemoteEngine::kDownstreamUrlFetcherIdForTesting),
+ SpeechRecognitionEngine::kDownstreamUrlFetcherIdForTesting),
kUpstreamUrlFetcherId(
- GoogleStreamingRemoteEngine::kUpstreamUrlFetcherIdForTesting) {
+ SpeechRecognitionEngine::kUpstreamUrlFetcherIdForTesting) {
url_fetcher_factory_.SetDelegateForTests(this);
}

Powered by Google App Engine
This is Rietveld 408576698