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

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

Issue 16232019: Fix for finding a disabled origin after it was already moved to enabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Hiroki review #2 Created 7 years, 6 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
« 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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 static base::FilePath TitleToPath(const std::string& title); 143 static base::FilePath TitleToPath(const std::string& title);
144 static DriveMetadata::ResourceType SyncFileTypeToDriveMetadataResourceType( 144 static DriveMetadata::ResourceType SyncFileTypeToDriveMetadataResourceType(
145 SyncFileType file_type); 145 SyncFileType file_type);
146 146
147 private: 147 private:
148 friend class DriveFileSyncTaskManager; 148 friend class DriveFileSyncTaskManager;
149 friend class drive::LocalChangeProcessorDelegate; 149 friend class drive::LocalChangeProcessorDelegate;
150 150
151 friend class DriveFileSyncServiceMockTest; 151 friend class DriveFileSyncServiceMockTest;
152 friend class DriveFileSyncServiceSyncTest; 152 friend class DriveFileSyncServiceSyncTest;
153 friend class DriveFileSyncServiceTest;
153 struct ApplyLocalChangeParam; 154 struct ApplyLocalChangeParam;
154 struct ProcessRemoteChangeParam; 155 struct ProcessRemoteChangeParam;
155 156
156 typedef base::Callback<void(const base::Time& time, 157 typedef base::Callback<void(const base::Time& time,
157 SyncFileType remote_file_type, 158 SyncFileType remote_file_type,
158 SyncStatusCode status)> UpdatedTimeCallback; 159 SyncStatusCode status)> UpdatedTimeCallback;
159 typedef base::Callback< 160 typedef base::Callback<
160 void(SyncStatusCode status, 161 void(SyncStatusCode status,
161 const std::string& resource_id)> ResourceIdCallback; 162 const std::string& resource_id)> ResourceIdCallback;
162 163
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
423 RemoteChangeProcessor* remote_change_processor_; 424 RemoteChangeProcessor* remote_change_processor_;
424 425
425 ConflictResolutionPolicy conflict_resolution_; 426 ConflictResolutionPolicy conflict_resolution_;
426 427
427 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncService); 428 DISALLOW_COPY_AND_ASSIGN(DriveFileSyncService);
428 }; 429 };
429 430
430 } // namespace sync_file_system 431 } // namespace sync_file_system
431 432
432 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_DRIVE_FILE_SYNC_SERVICE_H_ 433 #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