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

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

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 #include "chrome/browser/chromeos/drive/fake_file_system.h" 5 #include "chrome/browser/chromeos/drive/fake_file_system.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 } 47 }
48 48
49 void FakeFileSystem::RemoveObserver(FileSystemObserver* observer) { 49 void FakeFileSystem::RemoveObserver(FileSystemObserver* observer) {
50 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 50 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
51 } 51 }
52 52
53 void FakeFileSystem::CheckForUpdates() { 53 void FakeFileSystem::CheckForUpdates() {
54 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 54 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
55 } 55 }
56 56
57 void FakeFileSystem::TransferFileFromRemoteToLocal(
58 const base::FilePath& remote_src_file_path,
59 const base::FilePath& local_dest_file_path,
60 const FileOperationCallback& callback) {
61 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
62 }
63
64 void FakeFileSystem::TransferFileFromLocalToRemote( 57 void FakeFileSystem::TransferFileFromLocalToRemote(
65 const base::FilePath& local_src_file_path, 58 const base::FilePath& local_src_file_path,
66 const base::FilePath& remote_dest_file_path, 59 const base::FilePath& remote_dest_file_path,
67 const FileOperationCallback& callback) { 60 const FileOperationCallback& callback) {
68 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 61 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
69 } 62 }
70 63
71 void FakeFileSystem::OpenFile(const base::FilePath& file_path, 64 void FakeFileSystem::OpenFile(const base::FilePath& file_path,
72 OpenMode open_mode, 65 OpenMode open_mode,
73 const OpenFileCallback& callback) { 66 const OpenFileCallback& callback) {
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 callback.Run(FILE_ERROR_OK, entry.Pass()); 377 callback.Run(FILE_ERROR_OK, entry.Pass());
385 return; 378 return;
386 } 379 }
387 } 380 }
388 381
389 callback.Run(FILE_ERROR_NOT_FOUND, scoped_ptr<ResourceEntry>()); 382 callback.Run(FILE_ERROR_NOT_FOUND, scoped_ptr<ResourceEntry>());
390 } 383 }
391 384
392 } // namespace test_util 385 } // namespace test_util
393 } // namespace drive 386 } // namespace drive
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/fake_file_system.h ('k') | chrome/browser/chromeos/drive/file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698