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

Unified Diff: content/browser/download/download_id_unittest.cc

Issue 8392042: Split BrowserThread into public API and private implementation, step 1. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
« no previous file with comments | « content/browser/download/download_file_unittest.cc ('k') | content/browser/download/download_item.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 39d9f3b4e61643af5d9e15aa5396373b6930c18d..2e09525d54b56ef10c2dc00eb7a09649be7ccb53 100644
--- a/content/browser/download/download_id_unittest.cc
+++ b/content/browser/download/download_id_unittest.cc
@@ -9,8 +9,9 @@
#include <set>
#include <vector>
-#include "content/browser/download/mock_download_manager_delegate.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"
class DownloadIdTest : public testing::Test {
@@ -45,7 +46,8 @@ class DownloadIdTest : public testing::Test {
scoped_ptr<MockDownloadManagerDelegate> download_manager_delegate_;
scoped_refptr<DownloadManager> download_managers_[2];
MessageLoopForUI message_loop_;
- BrowserThread ui_thread_; // Necessary to delete |DownloadManager|s.
+ // Necessary to delete |DownloadManager|s.
+ content::TestBrowserThread 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/download_item.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698