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

Side by Side Diff: webkit/browser/fileapi/sandbox_database_test_helper.h

Issue 15442002: Move FileAPI sandboxed filesystem related code from webkit/fileapi to webkit/browser/fileapi (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased 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 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_SANDBOX_DATABASE_TEST_HELPER_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_SANDBOX_DATABASE_TEST_HELPER_H_
6 #define WEBKIT_FILEAPI_SANDBOX_DATABASE_TEST_HELPER_H_ 6 #define WEBKIT_BROWSER_FILEAPI_SANDBOX_DATABASE_TEST_HELPER_H_
7 7
8 #include <cstddef> 8 #include <cstddef>
9 9
10 #include "third_party/leveldatabase/src/db/filename.h" 10 #include "third_party/leveldatabase/src/db/filename.h"
11 11
12 namespace base { 12 namespace base {
13 class FilePath; 13 class FilePath;
14 } 14 }
15 15
16 namespace fileapi { 16 namespace fileapi {
17 17
18 void CorruptDatabase(const base::FilePath& db_path, 18 void CorruptDatabase(const base::FilePath& db_path,
19 leveldb::FileType type, 19 leveldb::FileType type,
20 ptrdiff_t offset, 20 ptrdiff_t offset,
21 size_t size); 21 size_t size);
22 22
23 void DeleteDatabaseFile(const base::FilePath& db_path, 23 void DeleteDatabaseFile(const base::FilePath& db_path,
24 leveldb::FileType type); 24 leveldb::FileType type);
25 25
26 } // namespace fileapi 26 } // namespace fileapi
27 27
28 #endif // WEBKIT_FILEAPI_SANDBOX_DATABASE_TEST_HELPER_H_ 28 #endif // WEBKIT_BROWSER_FILEAPI_SANDBOX_DATABASE_TEST_HELPER_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/obfuscated_file_util_unittest.cc ('k') | webkit/browser/fileapi/sandbox_database_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698