summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_util.h
diff options
context:
space:
mode:
authoradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 03:29:35 +0000
committeradamk@chromium.org <adamk@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-08 03:29:35 +0000
commit8fbe7994047c3ec60182b4b2540d825c95e9f6ef (patch)
treeaf6dfd9cb03fa40c22ffad2b8a739f425f6d8626 /webkit/fileapi/file_system_util.h
parent6aa800f9d7af07c758cacd2c7d0425c706e4f057 (diff)
downloadchromium_src-8fbe7994047c3ec60182b4b2540d825c95e9f6ef.zip
chromium_src-8fbe7994047c3ec60182b4b2540d825c95e9f6ef.tar.gz
chromium_src-8fbe7994047c3ec60182b4b2540d825c95e9f6ef.tar.bz2
First crack at FileSystemURLRequestJob for handling filesystem: URLs.
Disabled behind a switch, "--enable-filesystem-url-scheme". Review URL: http://codereview.chromium.org/6262015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_util.h')
-rw-r--r--webkit/fileapi/file_system_util.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/webkit/fileapi/file_system_util.h b/webkit/fileapi/file_system_util.h
new file mode 100644
index 0000000..4331b1a
--- /dev/null
+++ b/webkit/fileapi/file_system_util.h
@@ -0,0 +1,21 @@
+// Copyright (c) 2011 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_FILEAPI_FILE_SYSTEM_UTIL_H_
+#define WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_
+#pragma once
+
+#include "webkit/fileapi/file_system_types.h"
+
+class FilePath;
+class GURL;
+
+namespace fileapi {
+
+bool CrackFileSystemURL(const GURL& url, GURL* origin_url, FileSystemType* type,
+ FilePath* file_path);
+
+} // namespace fileapi
+
+#endif // WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_