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

Unified Diff: webkit/fileapi/sandbox_origin_database.h

Issue 14885021: Cleanup: Prefix HTML5 Sandbox FileSystem related files with 'sandbox_' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/sandbox_directory_database_unittest.cc ('k') | webkit/fileapi/sandbox_origin_database.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/sandbox_origin_database.h
diff --git a/webkit/fileapi/file_system_origin_database.h b/webkit/fileapi/sandbox_origin_database.h
similarity index 80%
rename from webkit/fileapi/file_system_origin_database.h
rename to webkit/fileapi/sandbox_origin_database.h
index 45bcb260a088b890bf0e80ba746daed4aa642872..c65991a097b0a1ec70d893adb67200bc65c823ff 100644
--- a/webkit/fileapi/file_system_origin_database.h
+++ b/webkit/fileapi/sandbox_origin_database.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef WEBKIT_FILEAPI_FILE_SYSTEM_ORIGIN_DATABASE_H_
-#define WEBKIT_FILEAPI_FILE_SYSTEM_ORIGIN_DATABASE_H_
+#ifndef WEBKIT_FILEAPI_SANDBOX_ORIGIN_DATABASE_H_
+#define WEBKIT_FILEAPI_SANDBOX_ORIGIN_DATABASE_H_
#include <string>
#include <utility>
@@ -27,7 +27,7 @@ namespace fileapi {
// All methods of this class other than the constructor may be used only from
// the browser's FILE thread. The constructor may be used on any thread.
-class WEBKIT_STORAGE_EXPORT_PRIVATE FileSystemOriginDatabase {
+class WEBKIT_STORAGE_EXPORT_PRIVATE SandboxOriginDatabase {
public:
struct WEBKIT_STORAGE_EXPORT_PRIVATE OriginRecord {
std::string origin;
@@ -38,10 +38,10 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE FileSystemOriginDatabase {
~OriginRecord();
};
- // Only one instance of FileSystemOriginDatabase should exist for a given path
+ // Only one instance of SandboxOriginDatabase should exist for a given path
// at a given time.
- explicit FileSystemOriginDatabase(const base::FilePath& file_system_directory);
- ~FileSystemOriginDatabase();
+ explicit SandboxOriginDatabase(const base::FilePath& file_system_directory);
+ ~SandboxOriginDatabase();
bool HasOriginPath(const std::string& origin);
@@ -74,9 +74,9 @@ class WEBKIT_STORAGE_EXPORT_PRIVATE FileSystemOriginDatabase {
base::FilePath file_system_directory_;
scoped_ptr<leveldb::DB> db_;
base::Time last_reported_time_;
- DISALLOW_COPY_AND_ASSIGN(FileSystemOriginDatabase);
+ DISALLOW_COPY_AND_ASSIGN(SandboxOriginDatabase);
};
} // namespace fileapi
-#endif // WEBKIT_FILEAPI_FILE_SYSTEM_ORIGIN_DATABASE_H_
+#endif // WEBKIT_FILEAPI_SANDBOX_ORIGIN_DATABASE_H_
« no previous file with comments | « webkit/fileapi/sandbox_directory_database_unittest.cc ('k') | webkit/fileapi/sandbox_origin_database.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698