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

Unified Diff: webkit/common/fileapi/file_system_info.h

Issue 23856002: SyncFS: Support resolveLocalFileSystemURL on SyncFileSystem (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 3 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
« no previous file with comments | « webkit/browser/fileapi/file_system_context.cc ('k') | webkit/common/fileapi/file_system_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/fileapi/file_system_info.h
diff --git a/webkit/common/fileapi/file_system_info.h b/webkit/common/fileapi/file_system_info.h
new file mode 100644
index 0000000000000000000000000000000000000000..b71739ad41f209288b85cd9381d454344207d2ea
--- /dev/null
+++ b/webkit/common/fileapi/file_system_info.h
@@ -0,0 +1,31 @@
+// Copyright 2013 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 WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_
+#define WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_
+
+#include "url/gurl.h"
+#include "webkit/common/fileapi/file_system_types.h"
+#include "webkit/common/webkit_storage_common_export.h"
+
+namespace fileapi {
+
+// This struct is used to send the necessary information for Blink to create a
+// DOMFileSystem. Since Blink side only uses mount_type (rather than
+// detailed/cracked filesystem type) this only contains mount_type but not type.
+struct WEBKIT_STORAGE_COMMON_EXPORT FileSystemInfo {
+ FileSystemInfo();
+ FileSystemInfo(const std::string& filesystem_name,
+ const GURL& root_url,
+ fileapi::FileSystemType mount_type);
+ ~FileSystemInfo();
+
+ std::string name;
+ GURL root_url;
+ fileapi::FileSystemType mount_type;
+};
+
+} // namespace fileapi
+
+#endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_
« no previous file with comments | « webkit/browser/fileapi/file_system_context.cc ('k') | webkit/common/fileapi/file_system_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698