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

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

Issue 8400060: Switch content tests to use BrowserThreadImpl directly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge to lkgr Created 9 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/speech_recognizer_unittest.cc
diff --git a/content/browser/speech/speech_recognizer_unittest.cc b/content/browser/speech/speech_recognizer_unittest.cc
index 9ffb08b9a8497aaf00b0b7622fb9f23dd641b299..bd3dd8a009f61b364efaf137b0cfb0cf61e9778a 100644
--- a/content/browser/speech/speech_recognizer_unittest.cc
+++ b/content/browser/speech/speech_recognizer_unittest.cc
@@ -4,14 +4,16 @@
#include <vector>
+#include "content/browser/browser_thread_impl.h"
#include "content/browser/speech/speech_recognizer.h"
-#include "content/test/test_browser_thread.h"
#include "content/test/test_url_fetcher_factory.h"
#include "media/audio/test_audio_input_controller_factory.h"
#include "net/base/net_errors.h"
#include "net/url_request/url_request_status.h"
#include "testing/gtest/include/gtest/gtest.h"
+using content::BrowserThreadImpl;
+
using media::AudioInputController;
using media::TestAudioInputController;
using media::TestAudioInputControllerFactory;
@@ -106,7 +108,7 @@ class SpeechRecognizerTest : public SpeechRecognizerDelegate,
protected:
MessageLoopForIO message_loop_;
- content::TestBrowserThread io_thread_;
+ BrowserThreadImpl io_thread_;
scoped_refptr<SpeechRecognizer> recognizer_;
bool recording_complete_;
bool recognition_complete_;
« no previous file with comments | « content/browser/site_instance_unittest.cc ('k') | content/browser/tab_contents/render_view_host_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698