OLD | NEW |
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 Loading... |
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 Loading... |
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 } |
OLD | NEW |