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

Side by Side Diff: base/files/file.h

Issue 1101093002: Remove some needless base:: from base::File. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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
« no previous file with comments | « no previous file | base/files/file_posix.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 #ifndef BASE_FILES_FILE_H_ 5 #ifndef BASE_FILES_FILE_H_
6 #define BASE_FILES_FILE_H_ 6 #define BASE_FILES_FILE_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #if defined(OS_WIN) 9 #if defined(OS_WIN)
10 #include <windows.h> 10 #include <windows.h>
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 int64 size; 143 int64 size;
144 144
145 // True if the file corresponds to a directory. 145 // True if the file corresponds to a directory.
146 bool is_directory; 146 bool is_directory;
147 147
148 // True if the file corresponds to a symbolic link. For Windows currently 148 // True if the file corresponds to a symbolic link. For Windows currently
149 // not supported and thus always false. 149 // not supported and thus always false.
150 bool is_symbolic_link; 150 bool is_symbolic_link;
151 151
152 // The last modified time of a file. 152 // The last modified time of a file.
153 base::Time last_modified; 153 Time last_modified;
154 154
155 // The last accessed time of a file. 155 // The last accessed time of a file.
156 base::Time last_accessed; 156 Time last_accessed;
157 157
158 // The creation time of a file. 158 // The creation time of a file.
159 base::Time creation_time; 159 Time creation_time;
160 }; 160 };
161 161
162 File(); 162 File();
163 163
164 // Creates or opens the given file. This will fail with 'access denied' if the 164 // Creates or opens the given file. This will fail with 'access denied' if the
165 // |name| contains path traversal ('..') components. 165 // |name| contains path traversal ('..') components.
166 File(const FilePath& name, uint32 flags); 166 File(const FilePath& name, uint32 flags);
167 167
168 // Takes ownership of |platform_file|. 168 // Takes ownership of |platform_file|.
169 explicit File(PlatformFile platform_file); 169 explicit File(PlatformFile platform_file);
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 #endif 367 #endif
368 368
369 Error error_details_; 369 Error error_details_;
370 bool created_; 370 bool created_;
371 bool async_; 371 bool async_;
372 }; 372 };
373 373
374 } // namespace base 374 } // namespace base
375 375
376 #endif // BASE_FILES_FILE_H_ 376 #endif // BASE_FILES_FILE_H_
OLDNEW
« no previous file with comments | « no previous file | base/files/file_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698