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

Unified Diff: webkit/fileapi/file_system_origin_database.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/fileapi/file_system_context.cc ('k') | webkit/fileapi/file_system_origin_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/file_system_origin_database.h
diff --git a/webkit/fileapi/file_system_origin_database.h b/webkit/fileapi/file_system_origin_database.h
index 1a2808298d10dd813297e1963d25c2069dcac7bb..885d165f5fd2cde7cb6fd3d1c0f4d29e2366f4e5 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.
« no previous file with comments | « webkit/fileapi/file_system_context.cc ('k') | webkit/fileapi/file_system_origin_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698