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

Side by Side Diff: chrome/browser/media_galleries/fileapi/media_file_system_backend.h

Issue 18668003: SyncFS: Introduce SyncFileSystemBackend (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: lazy initialization Created 7 years, 5 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) 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 28 matching lines...) Expand all
39 39
40 // FileSystemBackend implementation. 40 // FileSystemBackend implementation.
41 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; 41 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
42 virtual void InitializeFileSystem( 42 virtual void InitializeFileSystem(
43 const GURL& origin_url, 43 const GURL& origin_url,
44 fileapi::FileSystemType type, 44 fileapi::FileSystemType type,
45 fileapi::OpenFileSystemMode mode, 45 fileapi::OpenFileSystemMode mode,
46 fileapi::FileSystemContext* context, 46 fileapi::FileSystemContext* context,
47 const InitializeFileSystemCallback& callback) OVERRIDE; 47 const InitializeFileSystemCallback& callback) OVERRIDE;
48 virtual fileapi::FileSystemFileUtil* GetFileUtil( 48 virtual fileapi::FileSystemFileUtil* GetFileUtil(
49 fileapi::FileSystemType type) OVERRIDE; 49 fileapi::FileSystemType type,
50 const fileapi::FileSystemContext* context) OVERRIDE;
50 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( 51 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
51 fileapi::FileSystemType type) OVERRIDE; 52 fileapi::FileSystemType type,
53 const fileapi::FileSystemContext* context) OVERRIDE;
52 virtual fileapi::CopyOrMoveFileValidatorFactory* 54 virtual fileapi::CopyOrMoveFileValidatorFactory*
53 GetCopyOrMoveFileValidatorFactory( 55 GetCopyOrMoveFileValidatorFactory(
54 fileapi::FileSystemType type, 56 fileapi::FileSystemType type,
55 base::PlatformFileError* error_code) OVERRIDE; 57 base::PlatformFileError* error_code) OVERRIDE;
56 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( 58 virtual fileapi::FileSystemOperation* CreateFileSystemOperation(
57 const fileapi::FileSystemURL& url, 59 const fileapi::FileSystemURL& url,
58 fileapi::FileSystemContext* context, 60 fileapi::FileSystemContext* context,
59 base::PlatformFileError* error_code) const OVERRIDE; 61 base::PlatformFileError* error_code) const OVERRIDE;
60 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader( 62 virtual scoped_ptr<webkit_blob::FileStreamReader> CreateFileStreamReader(
61 const fileapi::FileSystemURL& url, 63 const fileapi::FileSystemURL& url,
(...skipping 22 matching lines...) Expand all
84 scoped_ptr<fileapi::AsyncFileUtil> picasa_file_util_; 86 scoped_ptr<fileapi::AsyncFileUtil> picasa_file_util_;
85 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_; 87 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_;
86 #endif // defined(OS_WIN) || defined(OS_MACOSX) 88 #endif // defined(OS_WIN) || defined(OS_MACOSX)
87 89
88 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend); 90 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend);
89 }; 91 };
90 92
91 } // namespace chrome 93 } // namespace chrome
92 94
93 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ 95 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698