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

Unified Diff: webkit/fileapi/mount_points.cc

Issue 11648027: Extract external file systems handling from isolated context. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 12 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/fileapi/mount_points.cc
diff --git a/webkit/fileapi/mount_points.cc b/webkit/fileapi/mount_points.cc
new file mode 100644
index 0000000000000000000000000000000000000000..35e7626fafeaf3a8a51d9ab41353a5812e9652bd
--- /dev/null
+++ b/webkit/fileapi/mount_points.cc
@@ -0,0 +1,22 @@
+// 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.
+
+#include "webkit/fileapi/mount_points.h"
+
+#include "webkit/fileapi/file_system_types.h"
+
+namespace fileapi {
+
+MountPoints::MountPointInfo::MountPointInfo() {}
+MountPoints::MountPointInfo::MountPointInfo(
+ const std::string& name, const FilePath& path)
+ : name(name), path(path) {}
+
+// static
+bool MountPoints::HasMountPointsImplementation(FileSystemType type) {
+ return type == kFileSystemTypeIsolated ||
+ type == kFileSystemTypeExternal;
+}
+
+} // namespace fileapi

Powered by Google App Engine
This is Rietveld 408576698