OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 <algorithm> | 7 #include <algorithm> |
8 #include <bitset> | 8 #include <bitset> |
9 #include <iomanip> | 9 #include <iomanip> |
10 #include <list> | 10 #include <list> |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "chrome/browser/sync/protocol/theme_specifics.pb.h" | 53 #include "chrome/browser/sync/protocol/theme_specifics.pb.h" |
54 #include "chrome/browser/sync/protocol/typed_url_specifics.pb.h" | 54 #include "chrome/browser/sync/protocol/typed_url_specifics.pb.h" |
55 #include "chrome/browser/sync/sessions/sync_session.h" | 55 #include "chrome/browser/sync/sessions/sync_session.h" |
56 #include "chrome/browser/sync/sessions/sync_session_context.h" | 56 #include "chrome/browser/sync/sessions/sync_session_context.h" |
57 #include "chrome/browser/sync/syncable/autofill_migration.h" | 57 #include "chrome/browser/sync/syncable/autofill_migration.h" |
58 #include "chrome/browser/sync/syncable/directory_manager.h" | 58 #include "chrome/browser/sync/syncable/directory_manager.h" |
59 #include "chrome/browser/sync/syncable/model_type_payload_map.h" | 59 #include "chrome/browser/sync/syncable/model_type_payload_map.h" |
60 #include "chrome/browser/sync/syncable/model_type.h" | 60 #include "chrome/browser/sync/syncable/model_type.h" |
61 #include "chrome/browser/sync/syncable/nigori_util.h" | 61 #include "chrome/browser/sync/syncable/nigori_util.h" |
62 #include "chrome/browser/sync/syncable/syncable.h" | 62 #include "chrome/browser/sync/syncable/syncable.h" |
63 #include "chrome/browser/sync/util/crypto_helpers.h" | |
64 #include "chrome/common/chrome_switches.h" | 63 #include "chrome/common/chrome_switches.h" |
65 #include "chrome/common/deprecated/event_sys.h" | 64 #include "chrome/common/deprecated/event_sys.h" |
66 #include "chrome/common/net/gaia/gaia_authenticator.h" | 65 #include "chrome/common/net/gaia/gaia_authenticator.h" |
67 #include "content/browser/browser_thread.h" | 66 #include "content/browser/browser_thread.h" |
68 #include "net/base/network_change_notifier.h" | 67 #include "net/base/network_change_notifier.h" |
69 | 68 |
70 using base::TimeDelta; | 69 using base::TimeDelta; |
71 using browser_sync::AllStatus; | 70 using browser_sync::AllStatus; |
72 using browser_sync::Cryptographer; | 71 using browser_sync::Cryptographer; |
73 using browser_sync::KeyParams; | 72 using browser_sync::KeyParams; |
(...skipping 2795 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2869 void SyncManager::TriggerOnIncomingNotificationForTest( | 2868 void SyncManager::TriggerOnIncomingNotificationForTest( |
2870 const syncable::ModelTypeBitSet& model_types) { | 2869 const syncable::ModelTypeBitSet& model_types) { |
2871 syncable::ModelTypePayloadMap model_types_with_payloads = | 2870 syncable::ModelTypePayloadMap model_types_with_payloads = |
2872 syncable::ModelTypePayloadMapFromBitSet(model_types, | 2871 syncable::ModelTypePayloadMapFromBitSet(model_types, |
2873 std::string()); | 2872 std::string()); |
2874 | 2873 |
2875 data_->OnIncomingNotification(model_types_with_payloads); | 2874 data_->OnIncomingNotification(model_types_with_payloads); |
2876 } | 2875 } |
2877 | 2876 |
2878 } // namespace sync_api | 2877 } // namespace sync_api |
OLD | NEW |