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

Side by Side Diff: webkit/fileapi/file_system_util.h

Issue 9004019: Cleanup: Removing FileSystemPathManager (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 11 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_
7 #pragma once 7 #pragma once
8 8
9 #include "webkit/fileapi/file_system_types.h" 9 #include "webkit/fileapi/file_system_types.h"
10 #include "webkit/quota/quota_types.h" 10 #include "webkit/quota/quota_types.h"
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 // The origin identifier string is a serialized form of a security origin 49 // The origin identifier string is a serialized form of a security origin
50 // and can be used as a path name as it contains no "/" or other possibly 50 // and can be used as a path name as it contains no "/" or other possibly
51 // unsafe characters. (See WebKit's SecurityOrigin code for more details.) 51 // unsafe characters. (See WebKit's SecurityOrigin code for more details.)
52 // 52 //
53 // Example: 53 // Example:
54 // "http://www.example.com:80/"'s identifier should look like: 54 // "http://www.example.com:80/"'s identifier should look like:
55 // "http_www.example.host_80" 55 // "http_www.example.host_80"
56 std::string GetOriginIdentifierFromURL(const GURL& url); 56 std::string GetOriginIdentifierFromURL(const GURL& url);
57 GURL GetOriginURLFromIdentifier(const std::string& origin_identifier); 57 GURL GetOriginURLFromIdentifier(const std::string& origin_identifier);
58 58
59 // Returns the string representation of the given filesystem |type|.
60 // Returns an empty string if the |type| is invalid.
61 std::string GetFileSystemTypeString(FileSystemType type);
62
59 } // namespace fileapi 63 } // namespace fileapi
60 64
61 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ 65 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_url_request_job_unittest.cc ('k') | webkit/fileapi/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698