| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <iomanip> | 9 #include <iomanip> |
| 10 #include <list> | 10 #include <list> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 #include "chrome/browser/sync/protocol/preference_specifics.pb.h" | 41 #include "chrome/browser/sync/protocol/preference_specifics.pb.h" |
| 42 #include "chrome/browser/sync/protocol/service_constants.h" | 42 #include "chrome/browser/sync/protocol/service_constants.h" |
| 43 #include "chrome/browser/sync/protocol/sync.pb.h" | 43 #include "chrome/browser/sync/protocol/sync.pb.h" |
| 44 #include "chrome/browser/sync/protocol/theme_specifics.pb.h" | 44 #include "chrome/browser/sync/protocol/theme_specifics.pb.h" |
| 45 #include "chrome/browser/sync/protocol/typed_url_specifics.pb.h" | 45 #include "chrome/browser/sync/protocol/typed_url_specifics.pb.h" |
| 46 #include "chrome/browser/sync/sessions/sync_session_context.h" | 46 #include "chrome/browser/sync/sessions/sync_session_context.h" |
| 47 #include "chrome/browser/sync/syncable/directory_manager.h" | 47 #include "chrome/browser/sync/syncable/directory_manager.h" |
| 48 #include "chrome/browser/sync/syncable/syncable.h" | 48 #include "chrome/browser/sync/syncable/syncable.h" |
| 49 #include "chrome/browser/sync/util/closure.h" | 49 #include "chrome/browser/sync/util/closure.h" |
| 50 #include "chrome/browser/sync/util/crypto_helpers.h" | 50 #include "chrome/browser/sync/util/crypto_helpers.h" |
| 51 #include "chrome/browser/sync/util/path_helpers.h" | |
| 52 #include "chrome/browser/sync/util/user_settings.h" | 51 #include "chrome/browser/sync/util/user_settings.h" |
| 53 #include "chrome/common/chrome_switches.h" | 52 #include "chrome/common/chrome_switches.h" |
| 54 #include "chrome/common/deprecated/event_sys.h" | 53 #include "chrome/common/deprecated/event_sys.h" |
| 55 #include "chrome/common/net/gaia/gaia_authenticator.h" | 54 #include "chrome/common/net/gaia/gaia_authenticator.h" |
| 56 #include "jingle/notifier/listener/mediator_thread_impl.h" | 55 #include "jingle/notifier/listener/mediator_thread_impl.h" |
| 57 #include "jingle/notifier/listener/notification_constants.h" | 56 #include "jingle/notifier/listener/notification_constants.h" |
| 58 #include "jingle/notifier/listener/talk_mediator.h" | 57 #include "jingle/notifier/listener/talk_mediator.h" |
| 59 #include "jingle/notifier/listener/talk_mediator_impl.h" | 58 #include "jingle/notifier/listener/talk_mediator_impl.h" |
| 60 #include "net/base/network_change_notifier.h" | 59 #include "net/base/network_change_notifier.h" |
| 61 | 60 |
| (...skipping 2047 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2109 BaseTransaction::~BaseTransaction() { | 2108 BaseTransaction::~BaseTransaction() { |
| 2110 delete lookup_; | 2109 delete lookup_; |
| 2111 } | 2110 } |
| 2112 | 2111 |
| 2113 UserShare* SyncManager::GetUserShare() const { | 2112 UserShare* SyncManager::GetUserShare() const { |
| 2114 DCHECK(data_->initialized()) << "GetUserShare requires initialization!"; | 2113 DCHECK(data_->initialized()) << "GetUserShare requires initialization!"; |
| 2115 return data_->GetUserShare(); | 2114 return data_->GetUserShare(); |
| 2116 } | 2115 } |
| 2117 | 2116 |
| 2118 } // namespace sync_api | 2117 } // namespace sync_api |
| OLD | NEW |