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

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

Issue 22885006: Remove TransferFileFromRemoteToLocal, which are no longer used. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 // Initialization for testing. This can be called instead of Initialize 45 // Initialization for testing. This can be called instead of Initialize
46 // for testing purpose. Returns true for success. 46 // for testing purpose. Returns true for success.
47 bool InitializeForTesting(); 47 bool InitializeForTesting();
48 48
49 // FileSystemInterface Overrides. 49 // FileSystemInterface Overrides.
50 virtual void Initialize() OVERRIDE; 50 virtual void Initialize() OVERRIDE;
51 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE; 51 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE;
52 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE; 52 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE;
53 virtual void CheckForUpdates() OVERRIDE; 53 virtual void CheckForUpdates() OVERRIDE;
54 virtual void TransferFileFromRemoteToLocal(
55 const base::FilePath& remote_src_file_path,
56 const base::FilePath& local_dest_file_path,
57 const FileOperationCallback& callback) OVERRIDE;
58 virtual void TransferFileFromLocalToRemote( 54 virtual void TransferFileFromLocalToRemote(
59 const base::FilePath& local_src_file_path, 55 const base::FilePath& local_src_file_path,
60 const base::FilePath& remote_dest_file_path, 56 const base::FilePath& remote_dest_file_path,
61 const FileOperationCallback& callback) OVERRIDE; 57 const FileOperationCallback& callback) OVERRIDE;
62 virtual void OpenFile(const base::FilePath& file_path, 58 virtual void OpenFile(const base::FilePath& file_path,
63 OpenMode open_mode, 59 OpenMode open_mode,
64 const OpenFileCallback& callback) OVERRIDE; 60 const OpenFileCallback& callback) OVERRIDE;
65 virtual void Copy(const base::FilePath& src_file_path, 61 virtual void Copy(const base::FilePath& src_file_path,
66 const base::FilePath& dest_file_path, 62 const base::FilePath& dest_file_path,
67 const FileOperationCallback& callback) OVERRIDE; 63 const FileOperationCallback& callback) OVERRIDE;
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // invalidate the weak pointers before any other members are destroyed. 189 // invalidate the weak pointers before any other members are destroyed.
194 base::WeakPtrFactory<FakeFileSystem> weak_ptr_factory_; 190 base::WeakPtrFactory<FakeFileSystem> weak_ptr_factory_;
195 191
196 DISALLOW_COPY_AND_ASSIGN(FakeFileSystem); 192 DISALLOW_COPY_AND_ASSIGN(FakeFileSystem);
197 }; 193 };
198 194
199 } // namespace test_util 195 } // namespace test_util
200 } // namespace drive 196 } // namespace drive
201 197
202 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_ 198 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/dummy_file_system.h ('k') | chrome/browser/chromeos/drive/fake_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698