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

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

Issue 7057032: Integrated obfuscation with quota; all unit tests now pass (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Eliminated a vector copy Created 9 years, 7 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
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 15 matching lines...) Expand all
26 bool CrackFileSystemURL(const GURL& url, GURL* origin_url, FileSystemType* type, 26 bool CrackFileSystemURL(const GURL& url, GURL* origin_url, FileSystemType* type,
27 FilePath* file_path); 27 FilePath* file_path);
28 28
29 GURL GetFileSystemRootURI(const GURL& origin_url, fileapi::FileSystemType type); 29 GURL GetFileSystemRootURI(const GURL& origin_url, fileapi::FileSystemType type);
30 30
31 FileSystemType QuotaStorageTypeToFileSystemType( 31 FileSystemType QuotaStorageTypeToFileSystemType(
32 quota::StorageType storage_type); 32 quota::StorageType storage_type);
33 33
34 quota::StorageType FileSystemTypeToQuotaStorageType(FileSystemType type); 34 quota::StorageType FileSystemTypeToQuotaStorageType(FileSystemType type);
35 35
36 std::string GetOriginIdentifierFromURL(const GURL& url);
37 GURL GetOriginURLFromIdentifier(const std::string& origin_identifier);
38
36 } // namespace fileapi 39 } // namespace fileapi
37 40
38 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_ 41 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_UTIL_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/file_system_quota_client_unittest.cc ('k') | webkit/fileapi/file_system_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698