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

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

Issue 118993002: drive: Move FileSystem::LoadDirectoryIfNeeded to ChangeListLoader (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix Created 7 years 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 const GetFilesystemMetadataCallback& callback) OVERRIDE; 116 const GetFilesystemMetadataCallback& callback) OVERRIDE;
117 virtual void MarkCacheFileAsMounted( 117 virtual void MarkCacheFileAsMounted(
118 const base::FilePath& drive_file_path, 118 const base::FilePath& drive_file_path,
119 const MarkMountedCallback& callback) OVERRIDE; 119 const MarkMountedCallback& callback) OVERRIDE;
120 virtual void MarkCacheFileAsUnmounted( 120 virtual void MarkCacheFileAsUnmounted(
121 const base::FilePath& cache_file_path, 121 const base::FilePath& cache_file_path,
122 const FileOperationCallback& callback) OVERRIDE; 122 const FileOperationCallback& callback) OVERRIDE;
123 virtual void GetCacheEntry( 123 virtual void GetCacheEntry(
124 const base::FilePath& drive_file_path, 124 const base::FilePath& drive_file_path,
125 const GetCacheEntryCallback& callback) OVERRIDE; 125 const GetCacheEntryCallback& callback) OVERRIDE;
126 virtual void Reload(const FileOperationCallback& callback) OVERRIDE; 126 virtual void Reset(const FileOperationCallback& callback) OVERRIDE;
127 127
128 private: 128 private:
129 // Helper of GetResourceEntryById. 129 // Helper of GetResourceEntryById.
130 void GetResourceEntryByIdAfterGetResourceEntry( 130 void GetResourceEntryByIdAfterGetResourceEntry(
131 const GetResourceEntryCallback& callback, 131 const GetResourceEntryCallback& callback,
132 google_apis::GDataErrorCode error_in, 132 google_apis::GDataErrorCode error_in,
133 scoped_ptr<google_apis::ResourceEntry> resource_entry); 133 scoped_ptr<google_apis::ResourceEntry> resource_entry);
134 134
135 // Helpers of GetFileContent. 135 // Helpers of GetFileContent.
136 // How the method works: 136 // How the method works:
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 // invalidate the weak pointers before any other members are destroyed. 188 // invalidate the weak pointers before any other members are destroyed.
189 base::WeakPtrFactory<FakeFileSystem> weak_ptr_factory_; 189 base::WeakPtrFactory<FakeFileSystem> weak_ptr_factory_;
190 190
191 DISALLOW_COPY_AND_ASSIGN(FakeFileSystem); 191 DISALLOW_COPY_AND_ASSIGN(FakeFileSystem);
192 }; 192 };
193 193
194 } // namespace test_util 194 } // namespace test_util
195 } // namespace drive 195 } // namespace drive
196 196
197 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FAKE_FILE_SYSTEM_H_ 197 #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