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

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

Issue 184583008: Fix IWYU in base/files/file.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 9 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 | chrome/browser/chromeos/drive/file_system_util.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 #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>
11 #endif 11 #endif
12 12
13 #include <string>
14
15 #include "base/base_export.h" 13 #include "base/base_export.h"
16 #include "base/basictypes.h" 14 #include "base/basictypes.h"
17 #include "base/files/file_path.h"
18 #include "base/move.h" 15 #include "base/move.h"
19 #include "base/time/time.h" 16 #include "base/time/time.h"
20 17
21 #if defined(OS_WIN) 18 #if defined(OS_WIN)
22 #include "base/win/scoped_handle.h" 19 #include "base/win/scoped_handle.h"
23 #endif 20 #endif
24 21
25 namespace base { 22 namespace base {
26 23
24 class FilePath;
25
27 #if defined(OS_WIN) 26 #if defined(OS_WIN)
28 typedef HANDLE PlatformFile; 27 typedef HANDLE PlatformFile;
29 #elif defined(OS_POSIX) 28 #elif defined(OS_POSIX)
30 typedef int PlatformFile; 29 typedef int PlatformFile;
31 #endif 30 #endif
32 31
33 32
34 // Thin wrapper around an OS-level file. 33 // Thin wrapper around an OS-level file.
35 // Note that this class does not provide any support for asynchronous IO, other 34 // Note that this class does not provide any support for asynchronous IO, other
36 // than the ability to create asynchronous handles on Windows. 35 // than the ability to create asynchronous handles on Windows.
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 #endif 280 #endif
282 281
283 Error error_details_; 282 Error error_details_;
284 bool created_; 283 bool created_;
285 bool async_; 284 bool async_;
286 }; 285 };
287 286
288 } // namespace base 287 } // namespace base
289 288
290 #endif // BASE_FILES_FILE_H_ 289 #endif // BASE_FILES_FILE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698