OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-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 #include "chrome/browser/sync/engine/syncapi.h" | 5 #include "chrome/browser/sync/engine/syncapi.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 | 8 |
9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
10 #include <windows.h> | 10 #include <windows.h> |
(...skipping 29 matching lines...) Expand all Loading... |
40 #include "chrome/browser/sync/sync_constants.h" | 40 #include "chrome/browser/sync/sync_constants.h" |
41 #include "chrome/browser/sync/engine/all_status.h" | 41 #include "chrome/browser/sync/engine/all_status.h" |
42 #include "chrome/browser/sync/engine/auth_watcher.h" | 42 #include "chrome/browser/sync/engine/auth_watcher.h" |
43 #include "chrome/browser/sync/engine/change_reorder_buffer.h" | 43 #include "chrome/browser/sync/engine/change_reorder_buffer.h" |
44 #include "chrome/browser/sync/engine/model_safe_worker.h" | 44 #include "chrome/browser/sync/engine/model_safe_worker.h" |
45 #include "chrome/browser/sync/engine/net/gaia_authenticator.h" | 45 #include "chrome/browser/sync/engine/net/gaia_authenticator.h" |
46 #include "chrome/browser/sync/engine/net/server_connection_manager.h" | 46 #include "chrome/browser/sync/engine/net/server_connection_manager.h" |
47 #include "chrome/browser/sync/engine/net/syncapi_server_connection_manager.h" | 47 #include "chrome/browser/sync/engine/net/syncapi_server_connection_manager.h" |
48 #include "chrome/browser/sync/engine/syncer.h" | 48 #include "chrome/browser/sync/engine/syncer.h" |
49 #include "chrome/browser/sync/engine/syncer_thread.h" | 49 #include "chrome/browser/sync/engine/syncer_thread.h" |
50 #include "chrome/browser/sync/notifier/listener/notification_constants.h" | |
51 #include "chrome/browser/sync/notifier/listener/talk_mediator.h" | |
52 #include "chrome/browser/sync/notifier/listener/talk_mediator_impl.h" | |
53 #include "chrome/browser/sync/protocol/autofill_specifics.pb.h" | 50 #include "chrome/browser/sync/protocol/autofill_specifics.pb.h" |
54 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h" | 51 #include "chrome/browser/sync/protocol/bookmark_specifics.pb.h" |
55 #include "chrome/browser/sync/protocol/preference_specifics.pb.h" | 52 #include "chrome/browser/sync/protocol/preference_specifics.pb.h" |
56 #include "chrome/browser/sync/protocol/service_constants.h" | 53 #include "chrome/browser/sync/protocol/service_constants.h" |
57 #include "chrome/browser/sync/protocol/theme_specifics.pb.h" | 54 #include "chrome/browser/sync/protocol/theme_specifics.pb.h" |
58 #include "chrome/browser/sync/protocol/typed_url_specifics.pb.h" | 55 #include "chrome/browser/sync/protocol/typed_url_specifics.pb.h" |
59 #include "chrome/browser/sync/sessions/sync_session_context.h" | 56 #include "chrome/browser/sync/sessions/sync_session_context.h" |
60 #include "chrome/browser/sync/syncable/directory_manager.h" | 57 #include "chrome/browser/sync/syncable/directory_manager.h" |
61 #include "chrome/browser/sync/syncable/syncable.h" | 58 #include "chrome/browser/sync/syncable/syncable.h" |
62 #include "chrome/browser/sync/util/character_set_converters.h" | 59 #include "chrome/browser/sync/util/character_set_converters.h" |
63 #include "chrome/browser/sync/util/closure.h" | 60 #include "chrome/browser/sync/util/closure.h" |
64 #include "chrome/browser/sync/util/crypto_helpers.h" | 61 #include "chrome/browser/sync/util/crypto_helpers.h" |
65 #include "chrome/browser/sync/util/path_helpers.h" | 62 #include "chrome/browser/sync/util/path_helpers.h" |
66 #include "chrome/browser/sync/util/user_settings.h" | 63 #include "chrome/browser/sync/util/user_settings.h" |
| 64 #include "chrome/common/chrome_switches.h" |
67 #include "chrome/common/deprecated/event_sys.h" | 65 #include "chrome/common/deprecated/event_sys.h" |
68 #include "chrome/common/chrome_switches.h" | 66 #include "chrome/common/net/notifier/listener/notification_constants.h" |
| 67 #include "chrome/common/net/notifier/listener/talk_mediator.h" |
| 68 #include "chrome/common/net/notifier/listener/talk_mediator_impl.h" |
69 | 69 |
70 #if defined(OS_WIN) | 70 #if defined(OS_WIN) |
71 #pragma comment(lib, "iphlpapi.lib") | 71 #pragma comment(lib, "iphlpapi.lib") |
72 #endif | 72 #endif |
73 | 73 |
74 using browser_sync::AllStatus; | 74 using browser_sync::AllStatus; |
75 using browser_sync::AllStatusEvent; | 75 using browser_sync::AllStatusEvent; |
76 using browser_sync::AuthWatcher; | 76 using browser_sync::AuthWatcher; |
77 using browser_sync::AuthWatcherEvent; | 77 using browser_sync::AuthWatcherEvent; |
78 using browser_sync::ModelSafeRoutingInfo; | 78 using browser_sync::ModelSafeRoutingInfo; |
(...skipping 1992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2071 UserShare* SyncManager::GetUserShare() const { | 2071 UserShare* SyncManager::GetUserShare() const { |
2072 DCHECK(data_->initialized()) << "GetUserShare requires initialization!"; | 2072 DCHECK(data_->initialized()) << "GetUserShare requires initialization!"; |
2073 return data_->GetUserShare(); | 2073 return data_->GetUserShare(); |
2074 } | 2074 } |
2075 | 2075 |
2076 SyncManager::ExtraAutofillChangeRecordData::~ExtraAutofillChangeRecordData() { | 2076 SyncManager::ExtraAutofillChangeRecordData::~ExtraAutofillChangeRecordData() { |
2077 delete pre_deletion_data; | 2077 delete pre_deletion_data; |
2078 } | 2078 } |
2079 | 2079 |
2080 } // namespace sync_api | 2080 } // namespace sync_api |
OLD | NEW |