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

Side by Side Diff: base/file_util.h

Issue 8128: Make sure it's possible to download to a network share.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 2 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 | « no previous file | base/file_util_win.cc » ('j') | base/file_util_win.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // This file contains utility functions for dealing with the local 5 // This file contains utility functions for dealing with the local
6 // filesystem. 6 // filesystem.
7 7
8 #ifndef BASE_FILE_UTIL_H_ 8 #ifndef BASE_FILE_UTIL_H_
9 #define BASE_FILE_UTIL_H_ 9 #define BASE_FILE_UTIL_H_
10 10
(...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 #if defined(OS_WIN) 339 #if defined(OS_WIN)
340 WIN32_FIND_DATA find_data_; 340 WIN32_FIND_DATA find_data_;
341 HANDLE find_handle_; 341 HANDLE find_handle_;
342 #elif defined(OS_POSIX) 342 #elif defined(OS_POSIX)
343 FTS* fts_; 343 FTS* fts_;
344 #endif 344 #endif
345 345
346 DISALLOW_EVIL_CONSTRUCTORS(FileEnumerator); 346 DISALLOW_EVIL_CONSTRUCTORS(FileEnumerator);
347 }; 347 };
348 348
349 // Renames a file using the MoveFileEx API and ensures that the target file gets 349 // Renames a file using the SHFileOperation API to ensures that the target file
Paul Godavari 2008/10/25 00:42:16 'ensure'
350 // the correct security descriptor in the new path. 350 // gets the correct default security descriptor in the new path.
351 bool RenameFileAndResetSecurityDescriptor( 351 bool RenameFileAndResetSecurityDescriptor(
352 const std::wstring& source_file_path, 352 const std::wstring& source_file_path,
353 const std::wstring& target_file_path); 353 const std::wstring& target_file_path);
354 354
355 } // namespace file_util 355 } // namespace file_util
356 356
357 #endif // BASE_FILE_UTIL_H_ 357 #endif // BASE_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | base/file_util_win.cc » ('j') | base/file_util_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698