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

Unified Diff: net/http/infinite_cache_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/http/http_stream_parser_unittest.cc ('k') | net/spdy/spdy_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/infinite_cache_unittest.cc
diff --git a/net/http/infinite_cache_unittest.cc b/net/http/infinite_cache_unittest.cc
index 707f248a203d754c35a6570904cdd22813ffdbc7..813adbcdbba8bb74235bef12878dacfd21cb1422 100644
--- a/net/http/infinite_cache_unittest.cc
+++ b/net/http/infinite_cache_unittest.cc
@@ -5,7 +5,7 @@
#include "net/http/infinite_cache.h"
#include "base/file_util.h"
-#include "base/scoped_temp_dir.h"
+#include "base/files/scoped_temp_dir.h"
#include "base/threading/platform_thread.h"
#include "base/time.h"
#include "net/base/net_errors.h"
@@ -113,7 +113,7 @@ TEST(InfiniteCache, Basics) {
}
TEST(InfiniteCache, Save_Restore) {
- ScopedTempDir dir;
+ base::ScopedTempDir dir;
ASSERT_TRUE(dir.CreateUniqueTempDir());
FilePath path = dir.path().Append(FILE_PATH_LITERAL("infinite"));
@@ -165,7 +165,7 @@ TEST(InfiniteCache, DoomMethod) {
}
TEST(InfiniteCache, Delete) {
- ScopedTempDir dir;
+ base::ScopedTempDir dir;
ASSERT_TRUE(dir.CreateUniqueTempDir());
FilePath path = dir.path().Append(FILE_PATH_LITERAL("infinite"));
@@ -191,7 +191,7 @@ TEST(InfiniteCache, Delete) {
TEST(InfiniteCache, DeleteBetween) {
#if !defined(OS_ANDROID)
- ScopedTempDir dir;
+ base::ScopedTempDir dir;
ASSERT_TRUE(dir.CreateUniqueTempDir());
FilePath path = dir.path().Append(FILE_PATH_LITERAL("infinite"));
« no previous file with comments | « net/http/http_stream_parser_unittest.cc ('k') | net/spdy/spdy_network_transaction_spdy2_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698