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_PROXY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_PROXY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_PROXY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_PROXY_H_ |
7 | 7 |
8 #include "chrome/browser/chromeos/drive/drive_file_error.h" | 8 #include "chrome/browser/chromeos/drive/drive_file_error.h" |
9 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h" | 9 #include "webkit/chromeos/fileapi/remote_file_system_proxy.h" |
10 | 10 |
11 namespace fileapi { | 11 namespace fileapi { |
12 class FileSystemURL; | 12 class FileSystemURL; |
13 } | 13 } |
14 | 14 |
15 namespace gdata { | 15 namespace drive { |
16 | 16 |
17 class DriveEntryProto; | 17 class DriveEntryProto; |
18 class DriveFileSystemInterface; | 18 class DriveFileSystemInterface; |
19 | 19 |
20 typedef std::vector<DriveEntryProto> DriveEntryProtoVector; | 20 typedef std::vector<DriveEntryProto> DriveEntryProtoVector; |
21 | 21 |
22 // Implementation of File API's remote file system proxy for Drive file system. | 22 // Implementation of File API's remote file system proxy for Drive file system. |
23 class DriveFileSystemProxy : public fileapi::RemoteFileSystemProxyInterface { | 23 class DriveFileSystemProxy : public fileapi::RemoteFileSystemProxyInterface { |
24 public: | 24 public: |
25 // |file_system| is the DriveFileSystem instance owned by DriveSystemService. | 25 // |file_system| is the DriveFileSystem instance owned by DriveSystemService. |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
184 base::PlatformFile* platform_file, | 184 base::PlatformFile* platform_file, |
185 base::PlatformFileError* truncate_result); | 185 base::PlatformFileError* truncate_result); |
186 | 186 |
187 // DriveFileSystem is owned by Profile, which outlives DriveFileSystemProxy, | 187 // DriveFileSystem is owned by Profile, which outlives DriveFileSystemProxy, |
188 // which is owned by CrosMountPointProvider (i.e. by the time Profile is | 188 // which is owned by CrosMountPointProvider (i.e. by the time Profile is |
189 // removed, the file manager is already gone). Hence it's safe to use this as | 189 // removed, the file manager is already gone). Hence it's safe to use this as |
190 // a raw pointer. | 190 // a raw pointer. |
191 DriveFileSystemInterface* file_system_; | 191 DriveFileSystemInterface* file_system_; |
192 }; | 192 }; |
193 | 193 |
194 } // namespace chromeos | 194 } // namespace chromeos |
hashimoto
2012/10/12 04:57:46
Though this is not your fault, please change this
satorux1
2012/10/12 05:32:56
Done.
| |
195 | 195 |
196 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_PROXY_H_ | 196 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_PROXY_H_ |
OLD | NEW |