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

Side by Side Diff: chrome/browser/sync/engine/syncer.h

Issue 2865022: sync: add CleanupDisabledTypesCommand to purge data pertaining to previously... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_ENGINE_SYNCER_H_ 5 #ifndef CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_
6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_ 6 #define CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 26 matching lines...) Expand all
37 class ModelSafeWorker; 37 class ModelSafeWorker;
38 class ServerConnectionManager; 38 class ServerConnectionManager;
39 class SyncProcessState; 39 class SyncProcessState;
40 class URLFactory; 40 class URLFactory;
41 struct HttpResponse; 41 struct HttpResponse;
42 42
43 static const int kDefaultMaxCommitBatchSize = 25; 43 static const int kDefaultMaxCommitBatchSize = 25;
44 44
45 enum SyncerStep { 45 enum SyncerStep {
46 SYNCER_BEGIN, 46 SYNCER_BEGIN,
47 CLEANUP_DISABLED_TYPES,
47 DOWNLOAD_UPDATES, 48 DOWNLOAD_UPDATES,
48 PROCESS_CLIENT_COMMAND, 49 PROCESS_CLIENT_COMMAND,
49 VERIFY_UPDATES, 50 VERIFY_UPDATES,
50 PROCESS_UPDATES, 51 PROCESS_UPDATES,
51 STORE_TIMESTAMPS, 52 STORE_TIMESTAMPS,
52 APPLY_UPDATES, 53 APPLY_UPDATES,
53 BUILD_COMMIT_REQUEST, 54 BUILD_COMMIT_REQUEST,
54 POST_COMMIT_MESSAGE, 55 POST_COMMIT_MESSAGE,
55 PROCESS_COMMIT_RESPONSE, 56 PROCESS_COMMIT_RESPONSE,
56 BUILD_AND_PROCESS_CONFLICT_SETS, 57 BUILD_AND_PROCESS_CONFLICT_SETS,
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 } 209 }
209 return false; 210 return false;
210 } 211 }
211 // Utility function declarations. 212 // Utility function declarations.
212 void CopyServerFields(syncable::Entry* src, syncable::MutableEntry* dest); 213 void CopyServerFields(syncable::Entry* src, syncable::MutableEntry* dest);
213 void ClearServerData(syncable::MutableEntry* entry); 214 void ClearServerData(syncable::MutableEntry* entry);
214 215
215 } // namespace browser_sync 216 } // namespace browser_sync
216 217
217 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_ 218 #endif // CHROME_BROWSER_SYNC_ENGINE_SYNCER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/engine/process_commit_response_command_unittest.cc ('k') | chrome/browser/sync/engine/syncer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698