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

Side by Side Diff: chrome/browser/chromeos/drive/dummy_file_system.h

Issue 19596003: Remove CloseFile from FileSystem. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 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_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_
7 7
8 #include "chrome/browser/chromeos/drive/file_system_interface.h" 8 #include "chrome/browser/chromeos/drive/file_system_interface.h"
9 9
10 namespace drive { 10 namespace drive {
(...skipping 10 matching lines...) Expand all
21 const base::FilePath& remote_src_file_path, 21 const base::FilePath& remote_src_file_path,
22 const base::FilePath& local_dest_file_path, 22 const base::FilePath& local_dest_file_path,
23 const FileOperationCallback& callback) OVERRIDE {} 23 const FileOperationCallback& callback) OVERRIDE {}
24 virtual void TransferFileFromLocalToRemote( 24 virtual void TransferFileFromLocalToRemote(
25 const base::FilePath& local_src_file_path, 25 const base::FilePath& local_src_file_path,
26 const base::FilePath& remote_dest_file_path, 26 const base::FilePath& remote_dest_file_path,
27 const FileOperationCallback& callback) OVERRIDE {} 27 const FileOperationCallback& callback) OVERRIDE {}
28 virtual void OpenFile(const base::FilePath& file_path, 28 virtual void OpenFile(const base::FilePath& file_path,
29 OpenMode open_mode, 29 OpenMode open_mode,
30 const OpenFileCallback& callback) OVERRIDE {} 30 const OpenFileCallback& callback) OVERRIDE {}
31 virtual void CloseFile(const base::FilePath& file_path,
32 const FileOperationCallback& callback) OVERRIDE {}
33 virtual void Copy(const base::FilePath& src_file_path, 31 virtual void Copy(const base::FilePath& src_file_path,
34 const base::FilePath& dest_file_path, 32 const base::FilePath& dest_file_path,
35 const FileOperationCallback& callback) OVERRIDE {} 33 const FileOperationCallback& callback) OVERRIDE {}
36 virtual void Move(const base::FilePath& src_file_path, 34 virtual void Move(const base::FilePath& src_file_path,
37 const base::FilePath& dest_file_path, 35 const base::FilePath& dest_file_path,
38 const FileOperationCallback& callback) OVERRIDE {} 36 const FileOperationCallback& callback) OVERRIDE {}
39 virtual void Remove(const base::FilePath& file_path, 37 virtual void Remove(const base::FilePath& file_path,
40 bool is_recursive, 38 bool is_recursive,
41 const FileOperationCallback& callback) OVERRIDE {} 39 const FileOperationCallback& callback) OVERRIDE {}
42 virtual void CreateDirectory( 40 virtual void CreateDirectory(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 const std::string& query, 76 const std::string& query,
79 int options, 77 int options,
80 int at_most_num_matches, 78 int at_most_num_matches,
81 const SearchMetadataCallback& callback) OVERRIDE {} 79 const SearchMetadataCallback& callback) OVERRIDE {}
82 virtual void GetAvailableSpace( 80 virtual void GetAvailableSpace(
83 const GetAvailableSpaceCallback& callback) OVERRIDE {} 81 const GetAvailableSpaceCallback& callback) OVERRIDE {}
84 virtual void GetMetadata( 82 virtual void GetMetadata(
85 const GetFilesystemMetadataCallback& callback) OVERRIDE {} 83 const GetFilesystemMetadataCallback& callback) OVERRIDE {}
86 virtual void MarkCacheFileAsMounted( 84 virtual void MarkCacheFileAsMounted(
87 const base::FilePath& drive_file_path, 85 const base::FilePath& drive_file_path,
88 const OpenFileCallback& callback) OVERRIDE {} 86 const MarkMountedCallback& callback) OVERRIDE {}
89 virtual void MarkCacheFileAsUnmounted( 87 virtual void MarkCacheFileAsUnmounted(
90 const base::FilePath& cache_file_path, 88 const base::FilePath& cache_file_path,
91 const FileOperationCallback& callback) OVERRIDE {} 89 const FileOperationCallback& callback) OVERRIDE {}
92 virtual void GetCacheEntryByResourceId( 90 virtual void GetCacheEntryByResourceId(
93 const std::string& resource_id, 91 const std::string& resource_id,
94 const std::string& md5, 92 const std::string& md5,
95 const GetCacheEntryCallback& callback) OVERRIDE {} 93 const GetCacheEntryCallback& callback) OVERRIDE {}
96 virtual void Reload() OVERRIDE {} 94 virtual void Reload() OVERRIDE {}
97 }; 95 };
98 96
99 } // namespace drive 97 } // namespace drive
100 98
101 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ 99 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/async_file_util.cc ('k') | chrome/browser/chromeos/drive/fake_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698