summaryrefslogtreecommitdiffstats
path: root/webkit/fileapi/file_system_origin_database.h
diff options
context:
space:
mode:
authorericu@chromium.org <ericu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-23 22:06:26 +0000
committerericu@chromium.org <ericu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-23 22:06:26 +0000
commitfcc2d5f0e4ff841a6af7cc7f5834985f833cf935 (patch)
tree98495fb543a672112124cb348a93a689dc8aa8f0 /webkit/fileapi/file_system_origin_database.h
parente8b02e718bef710ecf69c52e19d4129c7e29d9ef (diff)
downloadchromium_src-fcc2d5f0e4ff841a6af7cc7f5834985f833cf935.zip
chromium_src-fcc2d5f0e4ff841a6af7cc7f5834985f833cf935.tar.gz
chromium_src-fcc2d5f0e4ff841a6af7cc7f5834985f833cf935.tar.bz2
Integrated obfuscation with quota; all unit tests now pass with or without the flag that turns on obfuscation.
BUG=none TEST=unit tests Review URL: http://codereview.chromium.org/7057032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86351 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/fileapi/file_system_origin_database.h')
-rw-r--r--webkit/fileapi/file_system_origin_database.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/webkit/fileapi/file_system_origin_database.h b/webkit/fileapi/file_system_origin_database.h
index 1a28082..885d165 100644
--- a/webkit/fileapi/file_system_origin_database.h
+++ b/webkit/fileapi/file_system_origin_database.h
@@ -19,7 +19,14 @@ namespace fileapi {
// the browser's FILE thread. The constructor may be used on any thread.
class FileSystemOriginDatabase {
public:
- typedef std::pair<std::string, FilePath> OriginRecord;
+ struct OriginRecord {
+ std::string origin;
+ FilePath path;
+
+ OriginRecord();
+ OriginRecord(const std::string& origin, const FilePath& path);
+ ~OriginRecord();
+ };
// Only one instance of FileSystemOriginDatabase should exist for a given path
// at a given time.