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

Unified Diff: content/browser/speech/google_one_shot_remote_engine_unittest.cc

Issue 10581012: Move test_url_fetcher_factory.* from content/ to net/url_request (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove export annotations Created 8 years, 6 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_unittest.cc
diff --git a/content/browser/speech/google_one_shot_remote_engine_unittest.cc b/content/browser/speech/google_one_shot_remote_engine_unittest.cc
index a393302dbcd46fd62effa13ffcbd5f5e06fd80c6..2ffae29c631285161e5752ee4a20c63bcf1508c9 100644
--- a/content/browser/speech/google_one_shot_remote_engine_unittest.cc
+++ b/content/browser/speech/google_one_shot_remote_engine_unittest.cc
@@ -8,7 +8,7 @@
#include "content/browser/speech/google_one_shot_remote_engine.h"
#include "content/public/common/speech_recognition_error.h"
#include "content/public/common/speech_recognition_result.h"
-#include "content/public/test/test_url_fetcher_factory.h"
+#include "net/url_request/test_url_fetcher_factory.h"
#include "net/url_request/url_request_context_getter.h"
#include "net/url_request/url_request_status.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -39,7 +39,7 @@ class GoogleOneShotRemoteEngineTest
protected:
MessageLoop message_loop_;
- TestURLFetcherFactory url_fetcher_factory_;
+ net::TestURLFetcherFactory url_fetcher_factory_;
content::SpeechRecognitionErrorCode error_;
content::SpeechRecognitionResult result_;
};
@@ -56,7 +56,7 @@ void GoogleOneShotRemoteEngineTest::CreateAndTestRequest(
client.StartRecognition();
client.TakeAudioChunk(*dummy_audio_chunk);
client.AudioChunksEnded();
- TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0);
+ net::TestURLFetcher* fetcher = url_fetcher_factory_.GetFetcherByID(0);
ASSERT_TRUE(fetcher);
fetcher->set_url(fetcher->GetOriginalURL());

Powered by Google App Engine
This is Rietveld 408576698