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

Side by Side Diff: base/file_util.h

Issue 7718021: Add external extensions json source in proper mac location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rev Created 9 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 | « no previous file | base/file_util_posix.cc » ('j') | base/file_util_posix.cc » ('J')
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 // 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 #pragma once 10 #pragma once
(...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 FILE_SYSTEM_CGROUP, // cgroup control. 652 FILE_SYSTEM_CGROUP, // cgroup control.
653 FILE_SYSTEM_OTHER, // any other value. 653 FILE_SYSTEM_OTHER, // any other value.
654 FILE_SYSTEM_TYPE_COUNT 654 FILE_SYSTEM_TYPE_COUNT
655 }; 655 };
656 656
657 // Attempts determine the FileSystemType for |path|. 657 // Attempts determine the FileSystemType for |path|.
658 // Returns false if |path| doesn't exist. 658 // Returns false if |path| doesn't exist.
659 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type); 659 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type);
660 #endif 660 #endif
661 661
662 #if defined (OS_POSIX)
Evan Martin 2011/08/24 22:38:53 no space after defined
Sam Kerner (Chrome) 2011/08/25 14:04:37 Done.
663 BASE_EXPORT bool IsPathControlledByUser(const FilePath& base,
664 const FilePath& path,
665 uid_t owner_uid);
666
667 BASE_EXPORT bool IsPathControlledByAdmin(const FilePath& path);
Evan Martin 2011/08/24 22:38:53 this one needs doc comments too
Sam Kerner (Chrome) 2011/08/25 14:04:37 Done.
668 #endif
669
662 } // namespace file_util 670 } // namespace file_util
663 671
664 // Deprecated functions have been moved to this separate header file, 672 // Deprecated functions have been moved to this separate header file,
665 // which must be included last after all the above definitions. 673 // which must be included last after all the above definitions.
666 #include "base/file_util_deprecated.h" 674 #include "base/file_util_deprecated.h"
667 675
668 #endif // BASE_FILE_UTIL_H_ 676 #endif // BASE_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | base/file_util_posix.cc » ('j') | base/file_util_posix.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698