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

Unified Diff: content/test/fileapi_test_file_set.h

Issue 183343002: Move test_file_set to content/test/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, rename files Created 6 years, 10 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 | « content/content_tests.gypi ('k') | content/test/fileapi_test_file_set.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/fileapi_test_file_set.h
diff --git a/webkit/browser/fileapi/test_file_set.h b/content/test/fileapi_test_file_set.h
similarity index 47%
rename from webkit/browser/fileapi/test_file_set.h
rename to content/test/fileapi_test_file_set.h
index eb44521357a2908a3370ea30af6d941153e2e918..9f10b193bce248ec39ae29a2995161887291f930 100644
--- a/webkit/browser/fileapi/test_file_set.h
+++ b/content/test/fileapi_test_file_set.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_BROWSER_FILEAPI_TEST_FILE_SET_H_
-#define WEBKIT_BROWSER_FILEAPI_TEST_FILE_SET_H_
+#ifndef CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_
+#define CONTENT_TEST_FILEAPI_TEST_FILE_SET_H_
#include <set>
@@ -12,31 +12,29 @@
// Common test data structures and test cases.
namespace fileapi {
-
class FileSystemFileUtil;
+}
-namespace test {
+namespace content {
-struct TestCaseRecord {
+struct FileSystemTestCaseRecord {
bool is_directory;
const base::FilePath::CharType path[64];
int64 data_file_size;
};
-extern const TestCaseRecord kRegularTestCases[];
-extern const size_t kRegularTestCaseSize;
+extern const FileSystemTestCaseRecord kRegularFileSystemTestCases[];
+extern const size_t kRegularFileSystemTestCaseSize;
-size_t GetRegularTestCaseSize();
+size_t GetRegularFileSystemTestCaseSize();
// Creates one file or directory specified by |record|.
-void SetUpOneTestCase(const base::FilePath& root_path,
- const TestCaseRecord& record);
+void SetUpOneFileSystemTestCase(const base::FilePath& root_path,
+ const FileSystemTestCaseRecord& record);
// Creates the files and directories specified in kRegularTestCases.
-void SetUpRegularTestCases(const base::FilePath& root_path);
-
-} // namespace test
+void SetUpRegularFileSystemTestCases(const base::FilePath& root_path);
-} // namespace fileapi
+} // namespace content
-#endif // WEBKIT_BROWSER_FILEAPI_TEST_FILE_SET_H_
+#endif // CONTENT_TEST_TEST_FILEAPI_FILE_SET_H_
« no previous file with comments | « content/content_tests.gypi ('k') | content/test/fileapi_test_file_set.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698