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

Side by Side Diff: sync/tools/sync_client.cc

Issue 143973006: New Sync datatype for Synced Notifications App Info (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: AppInfo: Fix proto version number and cr comments Created 6 years, 10 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 #include <cstddef> 5 #include <cstddef>
6 #include <cstdio> 6 #include <cstdio>
7 #include <string> 7 #include <string>
8 8
9 #include "base/at_exit.h" 9 #include "base/at_exit.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 model_types.Put(NIGORI); 302 model_types.Put(NIGORI);
303 model_types.Put(SEARCH_ENGINES); 303 model_types.Put(SEARCH_ENGINES);
304 model_types.Put(SESSIONS); 304 model_types.Put(SESSIONS);
305 model_types.Put(APPS); 305 model_types.Put(APPS);
306 model_types.Put(AUTOFILL_PROFILE); 306 model_types.Put(AUTOFILL_PROFILE);
307 model_types.Put(APP_SETTINGS); 307 model_types.Put(APP_SETTINGS);
308 model_types.Put(EXTENSION_SETTINGS); 308 model_types.Put(EXTENSION_SETTINGS);
309 model_types.Put(APP_NOTIFICATIONS); 309 model_types.Put(APP_NOTIFICATIONS);
310 model_types.Put(HISTORY_DELETE_DIRECTIVES); 310 model_types.Put(HISTORY_DELETE_DIRECTIVES);
311 model_types.Put(SYNCED_NOTIFICATIONS); 311 model_types.Put(SYNCED_NOTIFICATIONS);
312 model_types.Put(SYNCED_NOTIFICATION_APP_INFO);
312 model_types.Put(DEVICE_INFO); 313 model_types.Put(DEVICE_INFO);
313 model_types.Put(EXPERIMENTS); 314 model_types.Put(EXPERIMENTS);
314 model_types.Put(PRIORITY_PREFERENCES); 315 model_types.Put(PRIORITY_PREFERENCES);
315 model_types.Put(DICTIONARY); 316 model_types.Put(DICTIONARY);
316 model_types.Put(FAVICON_IMAGES); 317 model_types.Put(FAVICON_IMAGES);
317 model_types.Put(FAVICON_TRACKING); 318 model_types.Put(FAVICON_TRACKING);
318 319
319 ModelSafeRoutingInfo routing_info; 320 ModelSafeRoutingInfo routing_info;
320 for (ModelTypeSet::Iterator it = model_types.First(); 321 for (ModelTypeSet::Iterator it = model_types.First();
321 it.Good(); it.Inc()) { 322 it.Good(); it.Inc()) {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 io_thread.Stop(); 392 io_thread.Stop();
392 return 0; 393 return 0;
393 } 394 }
394 395
395 } // namespace 396 } // namespace
396 } // namespace syncer 397 } // namespace syncer
397 398
398 int main(int argc, char* argv[]) { 399 int main(int argc, char* argv[]) {
399 return syncer::SyncClientMain(argc, argv); 400 return syncer::SyncClientMain(argc, argv);
400 } 401 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698