Index: chrome/browser/extensions/api/developer_private/developer_private_api.h |
diff --git a/chrome/browser/extensions/api/developer_private/developer_private_api.h b/chrome/browser/extensions/api/developer_private/developer_private_api.h |
index b02ac4bba5c69be63af54082d3ba9b7ca40a9b03..4e271422d5f590b2fced7ffc0ed5288801fd3434 100644 |
--- a/chrome/browser/extensions/api/developer_private/developer_private_api.h |
+++ b/chrome/browser/extensions/api/developer_private/developer_private_api.h |
@@ -383,6 +383,23 @@ class DeveloperPrivateLoadProjectToSyncfsFunction |
// ExtensionFunction |
virtual bool RunImpl() OVERRIDE; |
+ |
+ void CopyFolder(const base::FilePath::StringType& project_name); |
+ |
+ void CopyFiles(const std::vector<base::FilePath>& paths); |
+ |
+ void CopyFilesCallback(const base::PlatformFileError result); |
+ |
+ private: |
+ // Number of pending copy files callbacks. |
+ // It should only be modified on the IO Thread. |
+ int pendingCallbacksCount_; |
+ |
+ // True only when all the copyFiles job are successful. |
+ // It should only be modified on the IO thread. |
+ bool success_; |
+ |
+ scoped_refptr<fileapi::FileSystemContext> context_; |
}; |
class DeveloperPrivateGetProjectsInfoFunction : public AsyncExtensionFunction { |
@@ -415,8 +432,6 @@ class DeveloperPrivateLoadProjectFunction : public SyncExtensionFunction { |
virtual bool RunImpl() OVERRIDE; |
}; |
- |
- |
} // namespace api |
} // namespace extensions |