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

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

Issue 11876002: Make largest_changestamp setter/getter asynchronous. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase + comment Created 7 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_DRIVE_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 const FilePath& directory_path, 127 const FilePath& directory_path,
128 const ReadDirectoryWithSettingCallback& callback) OVERRIDE; 128 const ReadDirectoryWithSettingCallback& callback) OVERRIDE;
129 virtual void RequestDirectoryRefresh( 129 virtual void RequestDirectoryRefresh(
130 const FilePath& directory_path) OVERRIDE; 130 const FilePath& directory_path) OVERRIDE;
131 virtual void GetAvailableSpace( 131 virtual void GetAvailableSpace(
132 const GetAvailableSpaceCallback& callback) OVERRIDE; 132 const GetAvailableSpaceCallback& callback) OVERRIDE;
133 virtual void AddUploadedFile(const FilePath& directory_path, 133 virtual void AddUploadedFile(const FilePath& directory_path,
134 scoped_ptr<google_apis::ResourceEntry> doc_entry, 134 scoped_ptr<google_apis::ResourceEntry> doc_entry,
135 const FilePath& file_content_path, 135 const FilePath& file_content_path,
136 const FileOperationCallback& callback) OVERRIDE; 136 const FileOperationCallback& callback) OVERRIDE;
137 virtual DriveFileSystemMetadata GetMetadata() const OVERRIDE; 137 virtual void GetMetadata(
138 const GetFilesystemMetadataCallback& callback) OVERRIDE;
138 virtual void Reload() OVERRIDE; 139 virtual void Reload() OVERRIDE;
139 140
140 // file_system::OperationObserver overrides. 141 // file_system::OperationObserver overrides.
141 virtual void OnDirectoryChangedByOperation( 142 virtual void OnDirectoryChangedByOperation(
142 const FilePath& directory_path) OVERRIDE; 143 const FilePath& directory_path) OVERRIDE;
143 144
144 // DriveFeedLoader::Observer overrides. 145 // DriveFeedLoader::Observer overrides.
145 // Used to propagate events from DriveFeedLoader. 146 // Used to propagate events from DriveFeedLoader.
146 virtual void OnDirectoryChanged(const FilePath& directory_path) OVERRIDE; 147 virtual void OnDirectoryChanged(const FilePath& directory_path) OVERRIDE;
147 virtual void OnResourceListFetched(int num_accumulated_entries) OVERRIDE; 148 virtual void OnResourceListFetched(int num_accumulated_entries) OVERRIDE;
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 // invalidate the weak pointers before any other members are destroyed. 668 // invalidate the weak pointers before any other members are destroyed.
668 base::WeakPtrFactory<DriveFileSystem> ui_weak_ptr_factory_; 669 base::WeakPtrFactory<DriveFileSystem> ui_weak_ptr_factory_;
669 // Unlike other classes, we need this as we need this to redirect a task 670 // Unlike other classes, we need this as we need this to redirect a task
670 // from IO thread to UI thread. 671 // from IO thread to UI thread.
671 base::WeakPtr<DriveFileSystem> ui_weak_ptr_; 672 base::WeakPtr<DriveFileSystem> ui_weak_ptr_;
672 }; 673 };
673 674
674 } // namespace drive 675 } // namespace drive
675 676
676 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_ 677 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_feed_processor.cc ('k') | chrome/browser/chromeos/drive/drive_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698