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

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

Issue 23625013: Remove drive::FileSystemInterface::Initialize(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. 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 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 {
11 11
12 // Dummy implementation of FileSystemInterface. All functions do nothing. 12 // Dummy implementation of FileSystemInterface. All functions do nothing.
13 class DummyFileSystem : public FileSystemInterface { 13 class DummyFileSystem : public FileSystemInterface {
14 public: 14 public:
15 virtual ~DummyFileSystem() {} 15 virtual ~DummyFileSystem() {}
16 virtual void Initialize() OVERRIDE {}
17 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE {} 16 virtual void AddObserver(FileSystemObserver* observer) OVERRIDE {}
18 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE {} 17 virtual void RemoveObserver(FileSystemObserver* observer) OVERRIDE {}
19 virtual void CheckForUpdates() OVERRIDE {} 18 virtual void CheckForUpdates() OVERRIDE {}
20 virtual void TransferFileFromLocalToRemote( 19 virtual void TransferFileFromLocalToRemote(
21 const base::FilePath& local_src_file_path, 20 const base::FilePath& local_src_file_path,
22 const base::FilePath& remote_dest_file_path, 21 const base::FilePath& remote_dest_file_path,
23 const FileOperationCallback& callback) OVERRIDE {} 22 const FileOperationCallback& callback) OVERRIDE {}
24 virtual void OpenFile(const base::FilePath& file_path, 23 virtual void OpenFile(const base::FilePath& file_path,
25 OpenMode open_mode, 24 OpenMode open_mode,
26 const std::string& mime_type, 25 const std::string& mime_type,
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 const FileOperationCallback& callback) OVERRIDE {} 93 const FileOperationCallback& callback) OVERRIDE {}
95 virtual void GetCacheEntryByPath( 94 virtual void GetCacheEntryByPath(
96 const base::FilePath& drive_file_path, 95 const base::FilePath& drive_file_path,
97 const GetCacheEntryCallback& callback) OVERRIDE {} 96 const GetCacheEntryCallback& callback) OVERRIDE {}
98 virtual void Reload(const FileOperationCallback& callback) OVERRIDE {} 97 virtual void Reload(const FileOperationCallback& callback) OVERRIDE {}
99 }; 98 };
100 99
101 } // namespace drive 100 } // namespace drive
102 101
103 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_ 102 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DUMMY_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_url_request_job_unittest.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