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 "chrome/browser/extensions/chrome_extension_function.h" | 10 #include "chrome/browser/extensions/chrome_extension_function.h" |
11 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h" | 11 #include "chrome/browser/sync_file_system/conflict_resolution_policy.h" |
12 #include "chrome/browser/sync_file_system/sync_file_status.h" | 12 #include "chrome/browser/sync_file_system/sync_file_status.h" |
13 #include "chrome/browser/sync_file_system/sync_status_code.h" | 13 #include "chrome/browser/sync_file_system/sync_status_code.h" |
14 #include "chrome/common/extensions/api/sync_file_system.h" | 14 #include "chrome/common/extensions/api/sync_file_system.h" |
| 15 #include "storage/browser/fileapi/file_system_url.h" |
15 #include "storage/common/quota/quota_types.h" | 16 #include "storage/common/quota/quota_types.h" |
16 #include "webkit/browser/fileapi/file_system_url.h" | |
17 | 17 |
18 namespace storage { | 18 namespace storage { |
19 class FileSystemContext; | 19 class FileSystemContext; |
20 } | 20 } |
21 | 21 |
22 namespace extensions { | 22 namespace extensions { |
23 | 23 |
24 class SyncFileSystemDeleteFileSystemFunction | 24 class SyncFileSystemDeleteFileSystemFunction |
25 : public ChromeAsyncExtensionFunction { | 25 : public ChromeAsyncExtensionFunction { |
26 public: | 26 public: |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 SYNCFILESYSTEM_GETSERVICESTATUS) | 146 SYNCFILESYSTEM_GETSERVICESTATUS) |
147 | 147 |
148 protected: | 148 protected: |
149 virtual ~SyncFileSystemGetServiceStatusFunction() {} | 149 virtual ~SyncFileSystemGetServiceStatusFunction() {} |
150 virtual bool RunSync() OVERRIDE; | 150 virtual bool RunSync() OVERRIDE; |
151 }; | 151 }; |
152 | 152 |
153 } // namespace extensions | 153 } // namespace extensions |
154 | 154 |
155 #endif // CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H
_ | 155 #endif // CHROME_BROWSER_EXTENSIONS_API_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_API_H
_ |
OLD | NEW |