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

Side by Side Diff: base/test/test_file_util_win.cc

Issue 468253002: Move file_util to base/files/ directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Forgot to add forwarding header to patch Created 6 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « base/test/test_file_util_posix.cc ('k') | base/test/test_suite.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/test/test_file_util.h" 5 #include "base/test/test_file_util.h"
6 6
7 #include <windows.h> 7 #include <windows.h>
8 #include <aclapi.h> 8 #include <aclapi.h>
9 #include <shlwapi.h> 9 #include <shlwapi.h>
10 10
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/file_util.h"
14 #include "base/files/file_path.h" 13 #include "base/files/file_path.h"
14 #include "base/files/file_util.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/strings/string_split.h" 16 #include "base/strings/string_split.h"
17 #include "base/threading/platform_thread.h" 17 #include "base/threading/platform_thread.h"
18 #include "base/win/scoped_handle.h" 18 #include "base/win/scoped_handle.h"
19 19
20 namespace base { 20 namespace base {
21 21
22 static const ptrdiff_t kOneMB = 1024 * 1024; 22 static const ptrdiff_t kOneMB = 1024 * 1024;
23 23
24 namespace { 24 namespace {
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 DCHECK(info_ != NULL); 273 DCHECK(info_ != NULL);
274 DCHECK_NE(0u, length_); 274 DCHECK_NE(0u, length_);
275 } 275 }
276 276
277 FilePermissionRestorer::~FilePermissionRestorer() { 277 FilePermissionRestorer::~FilePermissionRestorer() {
278 if (!RestorePermissionInfo(path_, info_, length_)) 278 if (!RestorePermissionInfo(path_, info_, length_))
279 NOTREACHED(); 279 NOTREACHED();
280 } 280 }
281 281
282 } // namespace base 282 } // namespace base
OLDNEW
« no previous file with comments | « base/test/test_file_util_posix.cc ('k') | base/test/test_suite.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698