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

Side by Side Diff: content/public/test/test_file_system_backend.h

Issue 145303002: Convert Media Galleries to use base::File (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ 5 #ifndef CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_
6 #define CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ 6 #define CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 28 matching lines...) Expand all
39 virtual void OpenFileSystem( 39 virtual void OpenFileSystem(
40 const GURL& origin_url, 40 const GURL& origin_url,
41 fileapi::FileSystemType type, 41 fileapi::FileSystemType type,
42 fileapi::OpenFileSystemMode mode, 42 fileapi::OpenFileSystemMode mode,
43 const OpenFileSystemCallback& callback) OVERRIDE; 43 const OpenFileSystemCallback& callback) OVERRIDE;
44 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( 44 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
45 fileapi::FileSystemType type) OVERRIDE; 45 fileapi::FileSystemType type) OVERRIDE;
46 virtual fileapi::CopyOrMoveFileValidatorFactory* 46 virtual fileapi::CopyOrMoveFileValidatorFactory*
47 GetCopyOrMoveFileValidatorFactory( 47 GetCopyOrMoveFileValidatorFactory(
48 fileapi::FileSystemType type, 48 fileapi::FileSystemType type,
49 base::PlatformFileError* error_code) OVERRIDE; 49 base::File::Error* error_code) OVERRIDE;
50 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( 50 virtual fileapi::FileSystemOperation* CreateFileSystemOperation(
51 const fileapi::FileSystemURL& url, 51 const fileapi::FileSystemURL& url,
52 fileapi::FileSystemContext* context, 52 fileapi::FileSystemContext* context,
53 base::PlatformFileError* error_code) const OVERRIDE; 53 base::File::Error* error_code) const OVERRIDE;
54 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( 54 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
55 const fileapi::FileSystemURL& url, 55 const fileapi::FileSystemURL& url,
56 int64 offset, 56 int64 offset,
57 const base::Time& expected_modification_time, 57 const base::Time& expected_modification_time,
58 fileapi::FileSystemContext* context) const OVERRIDE; 58 fileapi::FileSystemContext* context) const OVERRIDE;
59 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( 59 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter(
60 const fileapi::FileSystemURL& url, 60 const fileapi::FileSystemURL& url,
61 int64 offset, 61 int64 offset,
62 fileapi::FileSystemContext* context) const OVERRIDE; 62 fileapi::FileSystemContext* context) const OVERRIDE;
63 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; 63 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
(...skipping 25 matching lines...) Expand all
89 bool require_copy_or_move_validator_; 89 bool require_copy_or_move_validator_;
90 scoped_ptr<fileapi::CopyOrMoveFileValidatorFactory> 90 scoped_ptr<fileapi::CopyOrMoveFileValidatorFactory>
91 copy_or_move_file_validator_factory_; 91 copy_or_move_file_validator_factory_;
92 92
93 DISALLOW_COPY_AND_ASSIGN(TestFileSystemBackend); 93 DISALLOW_COPY_AND_ASSIGN(TestFileSystemBackend);
94 }; 94 };
95 95
96 } // namespace content 96 } // namespace content
97 97
98 #endif // CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_ 98 #endif // CONTENT_PUBLIC_TEST_TEST_FILE_SYSTEM_BACKEND_H_
OLDNEW
« no previous file with comments | « content/common/fileapi/file_system_messages.h ('k') | content/public/test/test_file_system_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698