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

Side by Side Diff: net/disk_cache/simple/simple_version_upgrade_unittest.cc

Issue 520303003: Change base/file_utils.h includes to base/files/file_utils.h in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « net/disk_cache/simple/simple_version_upgrade.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/disk_cache/simple/simple_version_upgrade.h" 5 #include "net/disk_cache/simple/simple_version_upgrade.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/files/file_util.h"
10 #include "base/files/scoped_temp_dir.h" 10 #include "base/files/scoped_temp_dir.h"
11 #include "base/format_macros.h" 11 #include "base/format_macros.h"
12 #include "base/strings/stringprintf.h" 12 #include "base/strings/stringprintf.h"
13 #include "net/base/net_errors.h" 13 #include "net/base/net_errors.h"
14 #include "net/disk_cache/simple/simple_backend_version.h" 14 #include "net/disk_cache/simple/simple_backend_version.h"
15 #include "net/disk_cache/simple/simple_entry_format_history.h" 15 #include "net/disk_cache/simple/simple_entry_format_history.h"
16 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
17 17
18 // The migration process relies on ability to rename newly created files, which 18 // The migration process relies on ability to rename newly created files, which
19 // could be problematic on Windows XP. 19 // could be problematic on Windows XP.
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 EXPECT_TRUE(base::ReadFileToString(cache_path.AppendASCII(file_name), 131 EXPECT_TRUE(base::ReadFileToString(cache_path.AppendASCII(file_name),
132 &real_contents)); 132 &real_contents));
133 EXPECT_EQ(expected_contents, real_contents); 133 EXPECT_EQ(expected_contents, real_contents);
134 } 134 }
135 } 135 }
136 } 136 }
137 137
138 } // namespace 138 } // namespace
139 139
140 #endif // defined(OS_POSIX) 140 #endif // defined(OS_POSIX)
OLDNEW
« no previous file with comments | « net/disk_cache/simple/simple_version_upgrade.cc ('k') | net/dns/dns_hosts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698