| 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_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
| 11 #include "chrome/browser/extensions/extension_function.h" | 11 #include "chrome/browser/extensions/extension_function.h" |
| 12 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h" | 12 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h" |
| 13 #include "chrome/common/extensions/api/sync_file_system.h" | 13 #include "chrome/common/extensions/api/sync_file_system.h" |
| 14 #include "webkit/fileapi/file_system_url.h" | 14 #include "webkit/common/fileapi/file_system_url.h" |
| 15 #include "webkit/fileapi/syncable/sync_file_status.h" | 15 #include "webkit/fileapi/syncable/sync_file_status.h" |
| 16 #include "webkit/fileapi/syncable/sync_status_code.h" | 16 #include "webkit/fileapi/syncable/sync_status_code.h" |
| 17 #include "webkit/quota/quota_types.h" | 17 #include "webkit/quota/quota_types.h" |
| 18 | 18 |
| 19 namespace fileapi { | 19 namespace fileapi { |
| 20 class FileSystemContext; | 20 class FileSystemContext; |
| 21 } | 21 } |
| 22 | 22 |
| 23 namespace extensions { | 23 namespace extensions { |
| 24 | 24 |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 SYNCFILESYSTEM_GETCONFLICTRESOLUTIONPOLICY) | 139 SYNCFILESYSTEM_GETCONFLICTRESOLUTIONPOLICY) |
| 140 | 140 |
| 141 protected: | 141 protected: |
| 142 virtual ~SyncFileSystemGetConflictResolutionPolicyFunction() {} | 142 virtual ~SyncFileSystemGetConflictResolutionPolicyFunction() {} |
| 143 virtual bool RunImpl() OVERRIDE; | 143 virtual bool RunImpl() OVERRIDE; |
| 144 }; | 144 }; |
| 145 | 145 |
| 146 } // namespace extensions | 146 } // namespace extensions |
| 147 | 147 |
| 148 #endif // CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H
_ | 148 #endif // CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H
_ |
| OLD | NEW |