OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ |
6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ | 6 #define CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "webkit/browser/fileapi/file_system_backend.h" | 10 #include "webkit/browser/fileapi/file_system_backend.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 virtual void OpenFileSystem( | 35 virtual void OpenFileSystem( |
36 const GURL& origin_url, | 36 const GURL& origin_url, |
37 fileapi::FileSystemType type, | 37 fileapi::FileSystemType type, |
38 fileapi::OpenFileSystemMode mode, | 38 fileapi::OpenFileSystemMode mode, |
39 const OpenFileSystemCallback& callback) OVERRIDE; | 39 const OpenFileSystemCallback& callback) OVERRIDE; |
40 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( | 40 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( |
41 fileapi::FileSystemType type) OVERRIDE; | 41 fileapi::FileSystemType type) OVERRIDE; |
42 virtual fileapi::CopyOrMoveFileValidatorFactory* | 42 virtual fileapi::CopyOrMoveFileValidatorFactory* |
43 GetCopyOrMoveFileValidatorFactory( | 43 GetCopyOrMoveFileValidatorFactory( |
44 fileapi::FileSystemType type, | 44 fileapi::FileSystemType type, |
45 base::PlatformFileError* error_code) OVERRIDE; | 45 base::File::Error* error_code) OVERRIDE; |
46 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( | 46 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( |
47 const fileapi::FileSystemURL& url, | 47 const fileapi::FileSystemURL& url, |
48 fileapi::FileSystemContext* context, | 48 fileapi::FileSystemContext* context, |
49 base::PlatformFileError* error_code) const OVERRIDE; | 49 base::File::Error* error_code) const OVERRIDE; |
50 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( | 50 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( |
51 const fileapi::FileSystemURL& url, | 51 const fileapi::FileSystemURL& url, |
52 int64 offset, | 52 int64 offset, |
53 const base::Time& expected_modification_time, | 53 const base::Time& expected_modification_time, |
54 fileapi::FileSystemContext* context) const OVERRIDE; | 54 fileapi::FileSystemContext* context) const OVERRIDE; |
55 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( | 55 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( |
56 const fileapi::FileSystemURL& url, | 56 const fileapi::FileSystemURL& url, |
57 int64 offset, | 57 int64 offset, |
58 fileapi::FileSystemContext* context) const OVERRIDE; | 58 fileapi::FileSystemContext* context) const OVERRIDE; |
59 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; | 59 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; |
(...skipping 15 matching lines...) Expand all Loading... |
75 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_; | 75 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_; |
76 #endif // defined(OS_WIN) || defined(OS_MACOSX) | 76 #endif // defined(OS_WIN) || defined(OS_MACOSX) |
77 #if defined(OS_MACOSX) | 77 #if defined(OS_MACOSX) |
78 scoped_ptr<fileapi::AsyncFileUtil> iphoto_file_util_; | 78 scoped_ptr<fileapi::AsyncFileUtil> iphoto_file_util_; |
79 #endif // defined(OS_MACOSX) | 79 #endif // defined(OS_MACOSX) |
80 | 80 |
81 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend); | 81 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend); |
82 }; | 82 }; |
83 | 83 |
84 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ | 84 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ |
OLD | NEW |