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

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: add struct FileSystemInfo, and change file path manipulation 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
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..ad99d1fe0d4be3950d2cc30f2a355c4fcaf37eeb
--- /dev/null
+++ b/webkit/common/fileapi/file_system_info.h
@@ -0,0 +1,27 @@
+// 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 {
+
kinuko 2013/09/09 12:52:23 Can we add a struct comment? "This struct is used
nhiroki 2013/09/10 06:30:39 Done.
+struct WEBKIT_STORAGE_COMMON_EXPORT FileSystemInfo {
+ FileSystemInfo();
+ FileSystemInfo(const std::string& filesystem_name,
+ const GURL& root_url,
+ fileapi::FileSystemType mount_type);
+
+ std::string filesystem_name;
kinuko 2013/09/09 12:52:23 nit: Maybe just 'name' is ok here (since we're in
nhiroki 2013/09/10 06:30:39 Done.
+ GURL root_url;
+ fileapi::FileSystemType mount_type;
+};
+
+}
kinuko 2013/09/09 12:52:23 } // namespace fileapi
nhiroki 2013/09/10 06:30:39 Done.
+
+#endif // WEBKIT_COMMON_FILEAPI_FILE_SYSTEM_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698