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

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

Issue 23601005: Deprecate FileSystemBackend::GetFileUtil() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 21 matching lines...) Expand all
32 static scoped_refptr<base::SequencedTaskRunner> MediaTaskRunner(); 32 static scoped_refptr<base::SequencedTaskRunner> MediaTaskRunner();
33 33
34 // FileSystemBackend implementation. 34 // FileSystemBackend implementation.
35 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE; 35 virtual bool CanHandleType(fileapi::FileSystemType type) const OVERRIDE;
36 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE; 36 virtual void Initialize(fileapi::FileSystemContext* context) OVERRIDE;
37 virtual void OpenFileSystem( 37 virtual void OpenFileSystem(
38 const GURL& origin_url, 38 const GURL& origin_url,
39 fileapi::FileSystemType type, 39 fileapi::FileSystemType type,
40 fileapi::OpenFileSystemMode mode, 40 fileapi::OpenFileSystemMode mode,
41 const OpenFileSystemCallback& callback) OVERRIDE; 41 const OpenFileSystemCallback& callback) OVERRIDE;
42 virtual fileapi::FileSystemFileUtil* GetFileUtil(
43 fileapi::FileSystemType type) OVERRIDE;
44 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil( 42 virtual fileapi::AsyncFileUtil* GetAsyncFileUtil(
45 fileapi::FileSystemType type) OVERRIDE; 43 fileapi::FileSystemType type) OVERRIDE;
46 virtual fileapi::CopyOrMoveFileValidatorFactory* 44 virtual fileapi::CopyOrMoveFileValidatorFactory*
47 GetCopyOrMoveFileValidatorFactory( 45 GetCopyOrMoveFileValidatorFactory(
48 fileapi::FileSystemType type, 46 fileapi::FileSystemType type,
49 base::PlatformFileError* error_code) OVERRIDE; 47 base::PlatformFileError* error_code) OVERRIDE;
50 virtual fileapi::FileSystemOperation* CreateFileSystemOperation( 48 virtual fileapi::FileSystemOperation* CreateFileSystemOperation(
51 const fileapi::FileSystemURL& url, 49 const fileapi::FileSystemURL& url,
52 fileapi::FileSystemContext* context, 50 fileapi::FileSystemContext* context,
53 base::PlatformFileError* error_code) const OVERRIDE; 51 base::PlatformFileError* error_code) const OVERRIDE;
(...skipping 24 matching lines...) Expand all
78 scoped_ptr<fileapi::AsyncFileUtil> picasa_file_util_; 76 scoped_ptr<fileapi::AsyncFileUtil> picasa_file_util_;
79 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_; 77 scoped_ptr<fileapi::AsyncFileUtil> itunes_file_util_;
80 #endif // defined(OS_WIN) || defined(OS_MACOSX) 78 #endif // defined(OS_WIN) || defined(OS_MACOSX)
81 79
82 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend); 80 DISALLOW_COPY_AND_ASSIGN(MediaFileSystemBackend);
83 }; 81 };
84 82
85 } // namespace chrome 83 } // namespace chrome
86 84
87 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_ 85 #endif // CHROME_BROWSER_MEDIA_GALLERIES_FILEAPI_MEDIA_FILE_SYSTEM_BACKEND_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698