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

Unified Diff: content/browser/download/base_file_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/base_file_unittest.cc
diff --git a/content/browser/download/base_file_unittest.cc b/content/browser/download/base_file_unittest.cc
index ee518c3aedb181033d9b5cd4550a3d85dceb984d..e14b61874ba6a65ca40f2c787b51eeb7bbf197c7 100644
--- a/content/browser/download/base_file_unittest.cc
+++ b/content/browser/download/base_file_unittest.cc
@@ -10,12 +10,14 @@
#include "base/scoped_temp_dir.h"
#include "base/string_number_conversions.h"
#include "base/test/test_file_util.h"
-#include "content/test/test_browser_thread.h"
+#include "content/browser/browser_thread_impl.h"
#include "net/base/file_stream.h"
#include "net/base/mock_file_stream.h"
#include "net/base/net_errors.h"
#include "testing/gtest/include/gtest/gtest.h"
+using content::BrowserThreadImpl;
+
namespace {
const char kTestData1[] = "Let's write some data to the file!\n";
@@ -162,7 +164,7 @@ class BaseFileTest : public testing::Test {
// Mock file thread to satisfy debug checks in BaseFile.
MessageLoop message_loop_;
- content::TestBrowserThread file_thread_;
+ BrowserThreadImpl file_thread_;
};
// Test the most basic scenario: just create the object and do a sanity check
« no previous file with comments | « content/browser/appcache/chrome_appcache_service_unittest.cc ('k') | content/browser/download/download_file_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698