Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Unified Diff: content/common/fileapi/webfilesystem_callback_adapters.h

Issue 14796018: Cleanup: Deprecate FileSystemCallbackDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/fileapi/webfilesystem_callback_adapters.h
diff --git a/content/common/fileapi/webfilesystem_callback_adapters.h b/content/common/fileapi/webfilesystem_callback_adapters.h
new file mode 100644
index 0000000000000000000000000000000000000000..8f2c69918a5e05787409d6093169e086b7c667a5
--- /dev/null
+++ b/content/common/fileapi/webfilesystem_callback_adapters.h
@@ -0,0 +1,45 @@
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_
+#define CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_
+
+#include "base/basictypes.h"
+#include "base/files/file_util_proxy.h"
+#include "base/platform_file.h"
+
+class GURL;
+
+namespace WebKit {
+class WebFileSystemCallbacks;
+}
+
+namespace content {
+
+void FileStatusCallbackAdapter(
+ WebKit::WebFileSystemCallbacks* callbacks,
+ base::PlatformFileError error);
+
+void ReadMetadataCallbackAdapter(
+ WebKit::WebFileSystemCallbacks* callbacks,
+ const base::PlatformFileInfo& file_info,
+ const base::FilePath& platform_path);
+
+void CreateSnapshotFileCallbackAdapter(
+ WebKit::WebFileSystemCallbacks* callbacks,
+ const base::PlatformFileInfo& file_info,
+ const base::FilePath& platform_path);
+
+void ReadDirectoryCallbackAdapater(
+ WebKit::WebFileSystemCallbacks* callbacks,
+ const std::vector<base::FileUtilProxy::Entry>& entries,
+ bool has_more);
+
+void OpenFileSystemCallbackAdapter(
+ WebKit::WebFileSystemCallbacks* callbacks,
+ const std::string& name, const GURL& root);
+
+} // namespace content
+
+#endif // CONTENT_COMMON_FILEAPI_WEBFILESYSTEM_CALLBACK_ADAPTERS_H_
« no previous file with comments | « content/common/fileapi/file_system_dispatcher.cc ('k') | content/common/fileapi/webfilesystem_callback_adapters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698