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

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

Issue 137903002: Files.app: Add a drive sync error event to the fileBrowserPrivate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 const base::FilePath& drive_file_path, 153 const base::FilePath& drive_file_path,
154 const GetCacheEntryCallback& callback) OVERRIDE; 154 const GetCacheEntryCallback& callback) OVERRIDE;
155 virtual void Reset(const FileOperationCallback& callback) OVERRIDE; 155 virtual void Reset(const FileOperationCallback& callback) OVERRIDE;
156 156
157 // file_system::OperationObserver overrides. 157 // file_system::OperationObserver overrides.
158 virtual void OnDirectoryChangedByOperation( 158 virtual void OnDirectoryChangedByOperation(
159 const base::FilePath& directory_path) OVERRIDE; 159 const base::FilePath& directory_path) OVERRIDE;
160 virtual void OnCacheFileUploadNeededByOperation( 160 virtual void OnCacheFileUploadNeededByOperation(
161 const std::string& local_id) OVERRIDE; 161 const std::string& local_id) OVERRIDE;
162 virtual void OnEntryUpdatedByOperation(const std::string& local_id) OVERRIDE; 162 virtual void OnEntryUpdatedByOperation(const std::string& local_id) OVERRIDE;
163 virtual void OnDriveSyncError(file_system::DriveSyncErrorType type) OVERRIDE;
163 164
164 // ChangeListLoader::Observer overrides. 165 // ChangeListLoader::Observer overrides.
165 // Used to propagate events from ChangeListLoader. 166 // Used to propagate events from ChangeListLoader.
166 virtual void OnDirectoryChanged( 167 virtual void OnDirectoryChanged(
167 const base::FilePath& directory_path) OVERRIDE; 168 const base::FilePath& directory_path) OVERRIDE;
168 virtual void OnLoadFromServerComplete() OVERRIDE; 169 virtual void OnLoadFromServerComplete() OVERRIDE;
169 virtual void OnInitialLoadComplete() OVERRIDE; 170 virtual void OnInitialLoadComplete() OVERRIDE;
170 171
171 // Used by tests. 172 // Used by tests.
172 internal::ChangeListLoader* change_list_loader_for_testing() { 173 internal::ChangeListLoader* change_list_loader_for_testing() {
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
285 // Note: This should remain the last member so it'll be destroyed and 286 // Note: This should remain the last member so it'll be destroyed and
286 // invalidate the weak pointers before any other members are destroyed. 287 // invalidate the weak pointers before any other members are destroyed.
287 base::WeakPtrFactory<FileSystem> weak_ptr_factory_; 288 base::WeakPtrFactory<FileSystem> weak_ptr_factory_;
288 289
289 DISALLOW_COPY_AND_ASSIGN(FileSystem); 290 DISALLOW_COPY_AND_ASSIGN(FileSystem);
290 }; 291 };
291 292
292 } // namespace drive 293 } // namespace drive
293 294
294 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_ 295 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/file_system.cc » ('j') | chrome/browser/chromeos/drive/file_system_observer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698