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

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

Issue 452043003: [ew] Add basic classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments. Created 6 years, 4 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 <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 const base::Callback<void(base::File::Error result)>& callback); 54 const base::Callback<void(base::File::Error result)>& callback);
55 55
56 // FileSystemBackend implementation. 56 // FileSystemBackend implementation.
57 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; 57 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
58 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE; 58 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE;
59 virtual void ResolveURL(const fileapi::FileSystemURL& url, 59 virtual void ResolveURL(const fileapi::FileSystemURL& url,
60 fileapi::OpenFileSystemMode mode, 60 fileapi::OpenFileSystemMode mode,
61 const OpenFileSystemCallback& callback) OVERRIDE; 61 const OpenFileSystemCallback& callback) OVERRIDE;
62 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( 62 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
63 fileapi::FileSystemType type) OVERRIDE; 63 fileapi::FileSystemType type) OVERRIDE;
64 virtual fileapi::WatcherManager* GetWatcherManager(
65 fileapi::FileSystemType type) OVERRIDE;
64 virtual fileapi::CopyOrMoveFileValidatorFactory* 66 virtual fileapi::CopyOrMoveFileValidatorFactory*
65 GetCopyOrMoveFileValidatorFactory( 67 GetCopyOrMoveFileValidatorFactory(
66 fileapi::FileSystemType type, 68 fileapi::FileSystemType type,
67 base::File::Error* error_code) OVERRIDE; 69 base::File::Error* error_code) OVERRIDE;
68 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( 70 virtual fileapi::FileSystemOperation* CreateFileSystemOperation(
69 const fileapi::FileSystemURL& url, 71 const fileapi::FileSystemURL& url,
70 fileapi::FileSystemContext* context, 72 fileapi::FileSystemContext* context,
71 base::File::Error* error_code) const OVERRIDE; 73 base::File::Error* error_code) const OVERRIDE;
72 virtual bool SupportsStreaming( 74 virtual bool SupportsStreaming(
73 const fileapi::FileSystemURL& url) const OVERRIDE; 75 const fileapi::FileSystemURL& url) const OVERRIDE;
(...skipping 25 matching lines...) Expand all
99 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_; 101 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_;
100 #endif // defined(OS_WIN) || defined(OS_MACOSX) 102 #endif // defined(OS_WIN) || defined(OS_MACOSX)
101 #if defined(OS_MACOSX) 103 #if defined(OS_MACOSX)
102 scoped_ptr<fileapi::AsyncFileUtil> iphoto_file_util_; 104 scoped_ptr<fileapi::AsyncFileUtil> iphoto_file_util_;
103 #endif // defined(OS_MACOSX) 105 #endif // defined(OS_MACOSX)
104 106
105 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend); 107 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend);
106 }; 108 };
107 109
108 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ 110 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698