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

Unified Diff: webkit/fileapi/sandbox_file_system_test_helper.h

Issue 15810004: Cleanup: Rename LocalFileSystemTestOriginHelper (aka test_helper_) to SandboxFileSystemTestHelper (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/local_file_system_test_helper.cc ('k') | webkit/fileapi/sandbox_file_system_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/fileapi/sandbox_file_system_test_helper.h
diff --git a/webkit/fileapi/local_file_system_test_helper.h b/webkit/fileapi/sandbox_file_system_test_helper.h
similarity index 84%
rename from webkit/fileapi/local_file_system_test_helper.h
rename to webkit/fileapi/sandbox_file_system_test_helper.h
index 8e8af137093ba63309fb1bac6359ca9035984d14..15f9281cd5340f2b9caf0f6a03a56aa034ebe5c8 100644
--- a/webkit/fileapi/local_file_system_test_helper.h
+++ b/webkit/fileapi/sandbox_file_system_test_helper.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_LOCAL_FILE_SYSTEM_TEST_HELPER_H_
-#define WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_TEST_HELPER_H_
+#ifndef WEBKIT_FILEAPI_SANDBOX_FILE_SYSTEM_TEST_HELPER_H_
+#define WEBKIT_FILEAPI_SANDBOX_FILE_SYSTEM_TEST_HELPER_H_
#include <string>
@@ -33,15 +33,15 @@ class LocalFileSystemOperation;
// Filesystem test helper class that encapsulates test environment for
// a given {origin, type} pair. This helper only works for sandboxed
-// file systems (Temporary, Persistent or Test types).
-class LocalFileSystemTestOriginHelper {
+// file systems (Temporary or Persistent).
+class SandboxFileSystemTestHelper {
public:
- LocalFileSystemTestOriginHelper(const GURL& origin, FileSystemType type);
- LocalFileSystemTestOriginHelper();
- ~LocalFileSystemTestOriginHelper();
+ SandboxFileSystemTestHelper(const GURL& origin, FileSystemType type);
+ SandboxFileSystemTestHelper();
+ ~SandboxFileSystemTestHelper();
void SetUp(const base::FilePath& base_dir);
- // If you want to use more than one LocalFileSystemTestOriginHelper in
+ // If you want to use more than one SandboxFileSystemTestHelper in
// a single base directory, they have to share a context, so that they don't
// have multiple databases fighting over the lock to the origin directory
// [deep down inside ObfuscatedFileUtil].
@@ -86,7 +86,7 @@ class LocalFileSystemTestOriginHelper {
FileSystemUsageCache* usage_cache();
private:
- void SetUpFileUtil();
+ void SetUpFileSystem();
scoped_refptr<FileSystemContext> file_system_context_;
@@ -97,4 +97,4 @@ class LocalFileSystemTestOriginHelper {
} // namespace fileapi
-#endif // WEBKIT_FILEAPI_LOCAL_FILE_SYSTEM_TEST_HELPER_H_
+#endif // WEBKIT_FILEAPI_SANDBOX_FILE_SYSTEM_TEST_HELPER_H_
« no previous file with comments | « webkit/fileapi/local_file_system_test_helper.cc ('k') | webkit/fileapi/sandbox_file_system_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698