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: base/file_util.h

Issue 10735044: Remove #pragma once. Just from base/ for now. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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/file_path.h ('k') | base/file_version_info.h » ('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 // 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
11 10
12 #include "build/build_config.h" 11 #include "build/build_config.h"
13 12
14 #if defined(OS_WIN) 13 #if defined(OS_WIN)
15 #include <windows.h> 14 #include <windows.h>
16 #elif defined(OS_POSIX) 15 #elif defined(OS_POSIX)
17 #include <sys/stat.h> 16 #include <sys/stat.h>
18 #include <unistd.h> 17 #include <unistd.h>
19 #endif 18 #endif
20 19
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
638 }; 637 };
639 638
640 // Attempts determine the FileSystemType for |path|. 639 // Attempts determine the FileSystemType for |path|.
641 // Returns false if |path| doesn't exist. 640 // Returns false if |path| doesn't exist.
642 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type); 641 BASE_EXPORT bool GetFileSystemType(const FilePath& path, FileSystemType* type);
643 #endif 642 #endif
644 643
645 } // namespace file_util 644 } // namespace file_util
646 645
647 #endif // BASE_FILE_UTIL_H_ 646 #endif // BASE_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « base/file_path.h ('k') | base/file_version_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698