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

Unified Diff: net/url_request/url_fetcher_impl_unittest.cc

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 | « net/spdy/spdy_network_transaction_spdy3_unittest.cc ('k') | printing/emf_win_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_fetcher_impl_unittest.cc
diff --git a/net/url_request/url_fetcher_impl_unittest.cc b/net/url_request/url_fetcher_impl_unittest.cc
index 9a231bb2d48be7def432690a997b89820a659e18..f3f06595321c451b3eca7a5f052896f5b2dbcddd 100644
--- a/net/url_request/url_fetcher_impl_unittest.cc
+++ b/net/url_request/url_fetcher_impl_unittest.cc
@@ -8,8 +8,8 @@
#include "base/bind.h"
#include "base/file_util.h"
+#include "base/files/scoped_temp_dir.h"
#include "base/message_loop_proxy.h"
-#include "base/scoped_temp_dir.h"
#include "base/synchronization/waitable_event.h"
#include "base/threading/thread.h"
#include "build/build_config.h"
@@ -1082,7 +1082,7 @@ TEST_F(URLFetcherFileTest, SmallGet) {
FilePath(kDocRoot));
ASSERT_TRUE(test_server.Start());
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
// Get a small file.
@@ -1104,7 +1104,7 @@ TEST_F(URLFetcherFileTest, LargeGet) {
FilePath(kDocRoot));
ASSERT_TRUE(test_server.Start());
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
// Get a file large enough to require more than one read into
@@ -1124,7 +1124,7 @@ TEST_F(URLFetcherFileTest, CanTakeOwnershipOfFile) {
FilePath(kDocRoot));
ASSERT_TRUE(test_server.Start());
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
// Get a small file.
@@ -1148,7 +1148,7 @@ TEST_F(URLFetcherFileTest, OverwriteExistingFile) {
FilePath(kDocRoot));
ASSERT_TRUE(test_server.Start());
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
// Create a file before trying to fetch.
@@ -1175,7 +1175,7 @@ TEST_F(URLFetcherFileTest, TryToOverwriteDirectory) {
FilePath(kDocRoot));
ASSERT_TRUE(test_server.Start());
- ScopedTempDir temp_dir;
+ base::ScopedTempDir temp_dir;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
// Create a directory before trying to fetch.
« no previous file with comments | « net/spdy/spdy_network_transaction_spdy3_unittest.cc ('k') | printing/emf_win_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698