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

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

Issue 403103002: Prep for moving files into components/invalidation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 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
« no previous file with comments | « sync/tools/invalidation_helper.cc ('k') | sync/tools/sync_listen_notifications.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 #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 26 matching lines...) Expand all
37 #include "sync/internal_api/public/internal_components_factory_impl.h" 37 #include "sync/internal_api/public/internal_components_factory_impl.h"
38 #include "sync/internal_api/public/read_node.h" 38 #include "sync/internal_api/public/read_node.h"
39 #include "sync/internal_api/public/sync_manager.h" 39 #include "sync/internal_api/public/sync_manager.h"
40 #include "sync/internal_api/public/sync_manager_factory.h" 40 #include "sync/internal_api/public/sync_manager_factory.h"
41 #include "sync/internal_api/public/util/report_unrecoverable_error_function.h" 41 #include "sync/internal_api/public/util/report_unrecoverable_error_function.h"
42 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" 42 #include "sync/internal_api/public/util/unrecoverable_error_handler.h"
43 #include "sync/internal_api/public/util/weak_handle.h" 43 #include "sync/internal_api/public/util/weak_handle.h"
44 #include "sync/js/js_event_details.h" 44 #include "sync/js/js_event_details.h"
45 #include "sync/js/js_event_handler.h" 45 #include "sync/js/js_event_handler.h"
46 #include "sync/test/fake_encryptor.h" 46 #include "sync/test/fake_encryptor.h"
47 #include "sync/tools/invalidation_helper.h"
47 #include "sync/tools/null_invalidation_state_tracker.h" 48 #include "sync/tools/null_invalidation_state_tracker.h"
48 49
49 #if defined(OS_MACOSX) 50 #if defined(OS_MACOSX)
50 #include "base/mac/scoped_nsautorelease_pool.h" 51 #include "base/mac/scoped_nsautorelease_pool.h"
51 #endif 52 #endif
52 53
53 // This is a simple utility that initializes a sync client and 54 // This is a simple utility that initializes a sync client and
54 // prints out any events. 55 // prints out any events.
55 56
56 // TODO(akalin): Refactor to combine shared code with 57 // TODO(akalin): Refactor to combine shared code with
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 io_thread.Stop(); 465 io_thread.Stop();
465 return 0; 466 return 0;
466 } 467 }
467 468
468 } // namespace 469 } // namespace
469 } // namespace syncer 470 } // namespace syncer
470 471
471 int main(int argc, char* argv[]) { 472 int main(int argc, char* argv[]) {
472 return syncer::SyncClientMain(argc, argv); 473 return syncer::SyncClientMain(argc, argv);
473 } 474 }
OLDNEW
« no previous file with comments | « sync/tools/invalidation_helper.cc ('k') | sync/tools/sync_listen_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698