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

Unified Diff: content/browser/download/download_id_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/download/download_id_unittest.cc
diff --git a/content/browser/download/download_id_unittest.cc b/content/browser/download/download_id_unittest.cc
index 4caa9fe8dd138bfbd22cf82018bc6c9613ae91ce..10ab80897ff9d35f1e383ddabaa96e1b5a0ea869 100644
--- a/content/browser/download/download_id_unittest.cc
+++ b/content/browser/download/download_id_unittest.cc
@@ -9,11 +9,13 @@
#include <set>
#include <vector>
+#include "content/browser/browser_thread_impl.h"
#include "content/browser/download/mock_download_manager.h"
#include "content/browser/download/mock_download_manager_delegate.h"
-#include "content/test/test_browser_thread.h"
#include "testing/gtest/include/gtest/gtest.h"
+using content::BrowserThreadImpl;
+
class DownloadIdTest : public testing::Test {
public:
DownloadIdTest()
@@ -47,7 +49,7 @@ class DownloadIdTest : public testing::Test {
scoped_refptr<DownloadManager> download_managers_[2];
MessageLoopForUI message_loop_;
// Necessary to delete |DownloadManager|s.
- content::TestBrowserThread ui_thread_;
+ BrowserThreadImpl ui_thread_;
size_t num_managers_;
DISALLOW_COPY_AND_ASSIGN(DownloadIdTest);
« no previous file with comments | « content/browser/download/download_file_unittest.cc ('k') | content/browser/download/save_package_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698