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

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

Issue 11308360: Merge 170159 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1312/src/
Patch Set: Created 8 years 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DIRECTORY_DATABASE_H_ 5 #ifndef WEBKIT_FILEAPI_FILE_SYSTEM_DIRECTORY_DATABASE_H_
6 #define WEBKIT_FILEAPI_FILE_SYSTEM_DIRECTORY_DATABASE_H_ 6 #define WEBKIT_FILEAPI_FILE_SYSTEM_DIRECTORY_DATABASE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 void ReportInitStatus(const leveldb::Status& status); 104 void ReportInitStatus(const leveldb::Status& status);
105 bool StoreDefaultValues(); 105 bool StoreDefaultValues();
106 bool GetLastFileId(FileId* file_id); 106 bool GetLastFileId(FileId* file_id);
107 bool VerifyIsDirectory(FileId file_id); 107 bool VerifyIsDirectory(FileId file_id);
108 bool AddFileInfoHelper( 108 bool AddFileInfoHelper(
109 const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch); 109 const FileInfo& info, FileId file_id, leveldb::WriteBatch* batch);
110 bool RemoveFileInfoHelper(FileId file_id, leveldb::WriteBatch* batch); 110 bool RemoveFileInfoHelper(FileId file_id, leveldb::WriteBatch* batch);
111 void HandleError(const tracked_objects::Location& from_here, 111 void HandleError(const tracked_objects::Location& from_here,
112 const leveldb::Status& status); 112 const leveldb::Status& status);
113 113
114 FilePath filesystem_data_directory_; 114 const FilePath filesystem_data_directory_;
115 scoped_ptr<leveldb::DB> db_; 115 scoped_ptr<leveldb::DB> db_;
116 base::Time last_reported_time_; 116 base::Time last_reported_time_;
117 DISALLOW_COPY_AND_ASSIGN(FileSystemDirectoryDatabase); 117 DISALLOW_COPY_AND_ASSIGN(FileSystemDirectoryDatabase);
118 }; 118 };
119 119
120 } // namespace fileapi 120 } // namespace fileapi
121 121
122 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_DIRECTORY_DATABASE_H_ 122 #endif // WEBKIT_FILEAPI_FILE_SYSTEM_DIRECTORY_DATABASE_H_
OLDNEW
« no previous file with comments | « content/browser/worker_host/worker_process_host.cc ('k') | webkit/fileapi/file_system_directory_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698