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

Side by Side Diff: chrome/browser/sync_file_system/drive_file_sync_service.h

Issue 11602004: Cleanup: Remote metadata parameter from ApplyLocalChange (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 virtual void GetRemoteFileMetadata( 75 virtual void GetRemoteFileMetadata(
76 const fileapi::FileSystemURL& url, 76 const fileapi::FileSystemURL& url,
77 const fileapi::SyncFileMetadataCallback& callback) OVERRIDE; 77 const fileapi::SyncFileMetadataCallback& callback) OVERRIDE;
78 virtual RemoteServiceState GetCurrentState() const OVERRIDE; 78 virtual RemoteServiceState GetCurrentState() const OVERRIDE;
79 virtual const char* GetServiceName() const OVERRIDE; 79 virtual const char* GetServiceName() const OVERRIDE;
80 80
81 // LocalChangeProcessor overrides. 81 // LocalChangeProcessor overrides.
82 virtual void ApplyLocalChange( 82 virtual void ApplyLocalChange(
83 const fileapi::FileChange& change, 83 const fileapi::FileChange& change,
84 const FilePath& local_file_path, 84 const FilePath& local_file_path,
85 const fileapi::SyncFileMetadata& local_file_metadata,
86 const fileapi::FileSystemURL& url, 85 const fileapi::FileSystemURL& url,
87 const fileapi::SyncStatusCallback& callback) OVERRIDE; 86 const fileapi::SyncStatusCallback& callback) OVERRIDE;
88 87
89 // DriveFileSyncClientObserver overrides. 88 // DriveFileSyncClientObserver overrides.
90 virtual void OnAuthenticated() OVERRIDE; 89 virtual void OnAuthenticated() OVERRIDE;
91 virtual void OnNetworkConnected() OVERRIDE; 90 virtual void OnNetworkConnected() OVERRIDE;
92 91
93 private: 92 private:
94 friend class DriveFileSyncServiceTest; 93 friend class DriveFileSyncServiceTest;
95 class TaskToken; 94 class TaskToken;
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 // Use WeakPtrFactory instead of SupportsWeakPtr to revoke the weak pointer 366 // Use WeakPtrFactory instead of SupportsWeakPtr to revoke the weak pointer
368 // in |token_|. 367 // in |token_|.
369 base::WeakPtrFactory<DriveFileSyncService> weak_factory_; 368 base::WeakPtrFactory<DriveFileSyncService> weak_factory_;
370 369
371 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncService); 370 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncService);
372 }; 371 };
373 372
374 } // namespace sync_file_system 373 } // namespace sync_file_system
375 374
376 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ 375 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync_file_system/drive_file_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698