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

Side by Side Diff: base/file_util.h

Issue 196038: Removes deprecated version of PathIsWritable which is no longer called by any... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 11 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/file_util.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) 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 bool recursive); 175 bool recursive);
176 176
177 // Returns true if the given path exists on the local filesystem, 177 // Returns true if the given path exists on the local filesystem,
178 // false otherwise. 178 // false otherwise.
179 bool PathExists(const FilePath& path); 179 bool PathExists(const FilePath& path);
180 // Deprecated temporary compatibility function. 180 // Deprecated temporary compatibility function.
181 bool PathExists(const std::wstring& path); 181 bool PathExists(const std::wstring& path);
182 182
183 // Returns true if the given path is writable by the user, false otherwise. 183 // Returns true if the given path is writable by the user, false otherwise.
184 bool PathIsWritable(const FilePath& path); 184 bool PathIsWritable(const FilePath& path);
185 // Deprecated temporary compatibility function.
186 bool PathIsWritable(const std::wstring& path);
187 185
188 // Returns true if the given path exists and is a directory, false otherwise. 186 // Returns true if the given path exists and is a directory, false otherwise.
189 bool DirectoryExists(const FilePath& path); 187 bool DirectoryExists(const FilePath& path);
190 // Deprecated temporary compatibility function. 188 // Deprecated temporary compatibility function.
191 bool DirectoryExists(const std::wstring& path); 189 bool DirectoryExists(const std::wstring& path);
192 190
193 #if defined(OS_WIN) 191 #if defined(OS_WIN)
194 // Gets the creation time of the given file (expressed in the local timezone), 192 // Gets the creation time of the given file (expressed in the local timezone),
195 // and returns it via the creation_time parameter. Returns true if successful, 193 // and returns it via the creation_time parameter. Returns true if successful,
196 // false otherwise. 194 // false otherwise.
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 542
545 // Renames a file using the SHFileOperation API to ensure that the target file 543 // Renames a file using the SHFileOperation API to ensure that the target file
546 // gets the correct default security descriptor in the new path. 544 // gets the correct default security descriptor in the new path.
547 bool RenameFileAndResetSecurityDescriptor( 545 bool RenameFileAndResetSecurityDescriptor(
548 const FilePath& source_file_path, 546 const FilePath& source_file_path,
549 const FilePath& target_file_path); 547 const FilePath& target_file_path);
550 548
551 } // namespace file_util 549 } // namespace file_util
552 550
553 #endif // BASE_FILE_UTIL_H_ 551 #endif // BASE_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | base/file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698