OLD | NEW |
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 CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_UTIL_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_UTIL_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_UTIL_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_UTIL_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <utility> | |
10 #include <vector> | |
11 | 9 |
12 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
13 #include "base/memory/scoped_ptr.h" | |
14 #include "base/platform_file.h" | 11 #include "base/platform_file.h" |
15 #include "chrome/browser/chromeos/drive/drive_resource_metadata.h" | 12 #include "chrome/browser/chromeos/drive/drive_file_error.h" |
16 #include "chrome/browser/google_apis/gdata_errorcode.h" | 13 #include "chrome/browser/google_apis/gdata_errorcode.h" |
17 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
18 | 15 |
19 class Profile; | 16 class Profile; |
20 | 17 |
21 namespace base { | 18 namespace base { |
22 class FilePath; | 19 class FilePath; |
23 } | 20 } |
24 | 21 |
25 namespace drive { | 22 namespace drive { |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 void ConvertProtoToPlatformFileInfo(const PlatformFileInfoProto& proto, | 132 void ConvertProtoToPlatformFileInfo(const PlatformFileInfoProto& proto, |
136 base::PlatformFileInfo* file_info); | 133 base::PlatformFileInfo* file_info); |
137 | 134 |
138 // Converts the platform file info to the proto representation. | 135 // Converts the platform file info to the proto representation. |
139 void ConvertPlatformFileInfoToProto(const base::PlatformFileInfo& file_info, | 136 void ConvertPlatformFileInfoToProto(const base::PlatformFileInfo& file_info, |
140 PlatformFileInfoProto* proto); | 137 PlatformFileInfoProto* proto); |
141 } // namespace util | 138 } // namespace util |
142 } // namespace drive | 139 } // namespace drive |
143 | 140 |
144 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_UTIL_H_ | 141 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_UTIL_H_ |
OLD | NEW |