| 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 25 matching lines...) Expand all Loading... |
| 36 #include "sync/internal_api/public/http_bridge.h" | 36 #include "sync/internal_api/public/http_bridge.h" |
| 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/unrecoverable_error_handler.h" | 41 #include "sync/internal_api/public/util/unrecoverable_error_handler.h" |
| 42 #include "sync/internal_api/public/util/weak_handle.h" | 42 #include "sync/internal_api/public/util/weak_handle.h" |
| 43 #include "sync/js/js_event_details.h" | 43 #include "sync/js/js_event_details.h" |
| 44 #include "sync/js/js_event_handler.h" | 44 #include "sync/js/js_event_handler.h" |
| 45 #include "sync/test/fake_encryptor.h" | 45 #include "sync/test/fake_encryptor.h" |
| 46 #include "sync/tools/invalidation_helper.h" | |
| 47 #include "sync/tools/null_invalidation_state_tracker.h" | 46 #include "sync/tools/null_invalidation_state_tracker.h" |
| 47 #include "sync/util/invalidation_helper.h" |
| 48 #include "url/gurl.h" | 48 #include "url/gurl.h" |
| 49 | 49 |
| 50 #if defined(OS_MACOSX) | 50 #if defined(OS_MACOSX) |
| 51 #include "base/mac/scoped_nsautorelease_pool.h" | 51 #include "base/mac/scoped_nsautorelease_pool.h" |
| 52 #endif | 52 #endif |
| 53 | 53 |
| 54 // This is a simple utility that initializes a sync client and | 54 // This is a simple utility that initializes a sync client and |
| 55 // prints out any events. | 55 // prints out any events. |
| 56 | 56 |
| 57 // TODO(akalin): Refactor to combine shared code with | 57 // TODO(akalin): Refactor to combine shared code with |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 io_thread.Stop(); | 454 io_thread.Stop(); |
| 455 return 0; | 455 return 0; |
| 456 } | 456 } |
| 457 | 457 |
| 458 } // namespace | 458 } // namespace |
| 459 } // namespace syncer | 459 } // namespace syncer |
| 460 | 460 |
| 461 int main(int argc, char* argv[]) { | 461 int main(int argc, char* argv[]) { |
| 462 return syncer::SyncClientMain(argc, argv); | 462 return syncer::SyncClientMain(argc, argv); |
| 463 } | 463 } |
| OLD | NEW |