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

Side by Side Diff: chrome/browser/sync_file_system/local/sync_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, 11 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 CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
7 7
8 #include "chrome/browser/profiles/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/browser/sync_file_system/sync_callbacks.h" 9 #include "chrome/browser/sync_file_system/sync_callbacks.h"
10 #include "chrome/browser/sync_file_system/sync_status_code.h" 10 #include "chrome/browser/sync_file_system/sync_status_code.h"
(...skipping 22 matching lines...) Expand all
33 virtual void OpenFileSystem( 33 virtual void OpenFileSystem(
34 const GURL& origin_url, 34 const GURL& origin_url,
35 fileapi::FileSystemType type, 35 fileapi::FileSystemType type,
36 fileapi::OpenFileSystemMode mode, 36 fileapi::OpenFileSystemMode mode,
37 const OpenFileSystemCallback& callback) OVERRIDE; 37 const OpenFileSystemCallback& callback) OVERRIDE;
38 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( 38 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
39 fileapi::FileSystemType type) OVERRIDE; 39 fileapi::FileSystemType type) OVERRIDE;
40 virtual fileapi::CopyOrMoveFileValidatorFactory* 40 virtual fileapi::CopyOrMoveFileValidatorFactory*
41 GetCopyOrMoveFileValidatorFactory( 41 GetCopyOrMoveFileValidatorFactory(
42 fileapi::FileSystemType type, 42 fileapi::FileSystemType type,
43 base::PlatformFileError* error_code) OVERRIDE; 43 base::File::Error* error_code) OVERRIDE;
44 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( 44 virtual fileapi::FileSystemOperation* CreateFileSystemOperation(
45 const fileapi::FileSystemURL& url, 45 const fileapi::FileSystemURL& url,
46 fileapi::FileSystemContext* context, 46 fileapi::FileSystemContext* context,
47 base::PlatformFileError* error_code) const OVERRIDE; 47 base::File::Error* error_code) const OVERRIDE;
48 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( 48 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
49 const fileapi::FileSystemURL& url, 49 const fileapi::FileSystemURL& url,
50 int64 offset, 50 int64 offset,
51 const base::Time& expected_modification_time, 51 const base::Time& expected_modification_time,
52 fileapi::FileSystemContext* context) const OVERRIDE; 52 fileapi::FileSystemContext* context) const OVERRIDE;
53 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter( 53 virtual scoped_ptr<fileapi::FileStreamWriter> CreateFileStreamWriter(
54 const fileapi::FileSystemURL& url, 54 const fileapi::FileSystemURL& url,
55 int64 offset, 55 int64 offset,
56 fileapi::FileSystemContext* context) const OVERRIDE; 56 fileapi::FileSystemContext* context) const OVERRIDE;
57 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE; 57 virtual fileapi::FileSystemQuotaUtil* GetQuotaUtil() OVERRIDE;
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 fileapi::OpenFileSystemMode mode, 107 fileapi::OpenFileSystemMode mode,
108 const OpenFileSystemCallback& callback, 108 const OpenFileSystemCallback& callback,
109 SyncStatusCode status); 109 SyncStatusCode status);
110 110
111 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend); 111 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemBackend);
112 }; 112 };
113 113
114 } // namespace sync_file_system 114 } // namespace sync_file_system
115 115
116 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_ 116 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_LOCAL_SYNC_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698