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

Side by Side Diff: third_party/zlib/google/zip_unittest.cc

Issue 587823003: Cleanup: Remove base/file_util.h. Convert remaining references. (try 2) (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 | « third_party/zlib/google/zip_reader_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <set> 5 #include <set>
6 #include <string> 6 #include <string>
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/file_util.h"
10 #include "base/files/file.h" 9 #include "base/files/file.h"
11 #include "base/files/file_enumerator.h" 10 #include "base/files/file_enumerator.h"
12 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h"
13 #include "base/files/scoped_temp_dir.h" 13 #include "base/files/scoped_temp_dir.h"
14 #include "base/path_service.h" 14 #include "base/path_service.h"
15 #include "base/strings/string_util.h" 15 #include "base/strings/string_util.h"
16 #include "base/strings/stringprintf.h" 16 #include "base/strings/stringprintf.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "testing/platform_test.h" 18 #include "testing/platform_test.h"
19 #include "third_party/zlib/google/zip.h" 19 #include "third_party/zlib/google/zip.h"
20 #include "third_party/zlib/google/zip_reader.h" 20 #include "third_party/zlib/google/zip_reader.h"
21 21
22 namespace { 22 namespace {
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 SCOPED_TRACE(base::StringPrintf("Processing %d.txt", i)); 325 SCOPED_TRACE(base::StringPrintf("Processing %d.txt", i));
326 base::FilePath file_path = temp_dir.AppendASCII( 326 base::FilePath file_path = temp_dir.AppendASCII(
327 base::StringPrintf("%d.txt", i)); 327 base::StringPrintf("%d.txt", i));
328 int64 file_size = -1; 328 int64 file_size = -1;
329 EXPECT_TRUE(base::GetFileSize(file_path, &file_size)); 329 EXPECT_TRUE(base::GetFileSize(file_path, &file_size));
330 EXPECT_EQ(static_cast<int64>(i), file_size); 330 EXPECT_EQ(static_cast<int64>(i), file_size);
331 } 331 }
332 } 332 }
333 333
334 } // namespace 334 } // namespace
OLDNEW
« no previous file with comments | « third_party/zlib/google/zip_reader_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698