[email protected] | 6990e4e0 | 2012-01-26 00:44:53 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 5 | #include "sync/notifier/non_blocking_invalidator.h" |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 6 | |
[email protected] | 85b25eb | 2012-08-10 19:32:08 | [diff] [blame] | 7 | #include <cstddef> |
| 8 | |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 9 | #include "base/location.h" |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 10 | #include "base/logging.h" |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 11 | #include "base/memory/scoped_ptr.h" |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 12 | #include "base/single_thread_task_runner.h" |
| 13 | #include "base/thread_task_runner_handle.h" |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 14 | #include "base/threading/thread.h" |
[email protected] | 1f7eba7 | 2012-05-30 09:10:17 | [diff] [blame] | 15 | #include "jingle/notifier/listener/push_client.h" |
[email protected] | b7fe4b5 | 2012-04-19 14:21:09 | [diff] [blame] | 16 | #include "sync/notifier/invalidation_notifier.h" |
[email protected] | a7b1639 | 2013-11-26 22:46:26 | [diff] [blame^] | 17 | #include "sync/notifier/object_id_invalidation_map.h" |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 18 | |
[email protected] | 65f17355 | 2012-06-28 22:43:58 | [diff] [blame] | 19 | namespace syncer { |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 20 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 21 | class NonBlockingInvalidator::Core |
| 22 | : public base::RefCountedThreadSafe<NonBlockingInvalidator::Core>, |
| 23 | // InvalidationHandler to observe the InvalidationNotifier we create. |
| 24 | public InvalidationHandler { |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 25 | public: |
[email protected] | b9908a24 | 2011-11-19 09:31:32 | [diff] [blame] | 26 | // Called on parent thread. |delegate_observer| should be |
| 27 | // initialized. |
| 28 | explicit Core( |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 29 | const WeakHandle<InvalidationHandler>& delegate_observer); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 30 | |
| 31 | // Helpers called on I/O thread. |
[email protected] | e3b0ee5 | 2011-10-12 03:04:13 | [diff] [blame] | 32 | void Initialize( |
| 33 | const notifier::NotifierOptions& notifier_options, |
[email protected] | d551123 | 2013-03-28 01:34:54 | [diff] [blame] | 34 | const std::string& invalidator_client_id, |
[email protected] | a7b1639 | 2013-11-26 22:46:26 | [diff] [blame^] | 35 | const UnackedInvalidationsMap& saved_invalidations, |
[email protected] | 8cdb689 | 2012-10-03 05:54:40 | [diff] [blame] | 36 | const std::string& invalidation_bootstrap_data, |
[email protected] | d45f0d9 | 2012-07-20 17:25:41 | [diff] [blame] | 37 | const WeakHandle<InvalidationStateTracker>& invalidation_state_tracker, |
[email protected] | e3b0ee5 | 2011-10-12 03:04:13 | [diff] [blame] | 38 | const std::string& client_info); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 39 | void Teardown(); |
[email protected] | d914f02 | 2012-07-27 02:02:00 | [diff] [blame] | 40 | void UpdateRegisteredIds(const ObjectIdSet& ids); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 41 | void UpdateCredentials(const std::string& email, const std::string& token); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 42 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 43 | // InvalidationHandler implementation (all called on I/O thread by |
[email protected] | 7800d79 | 2012-05-30 02:34:48 | [diff] [blame] | 44 | // InvalidationNotifier). |
[email protected] | 08a6f999 | 2012-09-07 19:19:16 | [diff] [blame] | 45 | virtual void OnInvalidatorStateChange(InvalidatorState reason) OVERRIDE; |
| 46 | virtual void OnIncomingInvalidation( |
[email protected] | 0d0b59d | 2013-02-02 00:24:47 | [diff] [blame] | 47 | const ObjectIdInvalidationMap& invalidation_map) OVERRIDE; |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 48 | |
| 49 | private: |
| 50 | friend class |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 51 | base::RefCountedThreadSafe<NonBlockingInvalidator::Core>; |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 52 | // Called on parent or I/O thread. |
[email protected] | 6d44a14e | 2013-02-07 22:19:56 | [diff] [blame] | 53 | virtual ~Core(); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 54 | |
[email protected] | b9908a24 | 2011-11-19 09:31:32 | [diff] [blame] | 55 | // The variables below should be used only on the I/O thread. |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 56 | const WeakHandle<InvalidationHandler> delegate_observer_; |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 57 | scoped_ptr<InvalidationNotifier> invalidation_notifier_; |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 58 | scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; |
[email protected] | b9908a24 | 2011-11-19 09:31:32 | [diff] [blame] | 59 | |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 60 | DISALLOW_COPY_AND_ASSIGN(Core); |
| 61 | }; |
| 62 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 63 | NonBlockingInvalidator::Core::Core( |
| 64 | const WeakHandle<InvalidationHandler>& delegate_observer) |
[email protected] | b9908a24 | 2011-11-19 09:31:32 | [diff] [blame] | 65 | : delegate_observer_(delegate_observer) { |
| 66 | DCHECK(delegate_observer_.IsInitialized()); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 67 | } |
| 68 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 69 | NonBlockingInvalidator::Core::~Core() { |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 70 | } |
| 71 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 72 | void NonBlockingInvalidator::Core::Initialize( |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 73 | const notifier::NotifierOptions& notifier_options, |
[email protected] | d551123 | 2013-03-28 01:34:54 | [diff] [blame] | 74 | const std::string& invalidator_client_id, |
[email protected] | a7b1639 | 2013-11-26 22:46:26 | [diff] [blame^] | 75 | const UnackedInvalidationsMap& saved_invalidations, |
[email protected] | 8cdb689 | 2012-10-03 05:54:40 | [diff] [blame] | 76 | const std::string& invalidation_bootstrap_data, |
[email protected] | d45f0d9 | 2012-07-20 17:25:41 | [diff] [blame] | 77 | const WeakHandle<InvalidationStateTracker>& invalidation_state_tracker, |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 78 | const std::string& client_info) { |
[email protected] | 7131880 | 2013-06-03 00:20:05 | [diff] [blame] | 79 | DCHECK(notifier_options.request_context_getter.get()); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 80 | DCHECK_EQ(notifier::NOTIFICATION_SERVER, |
| 81 | notifier_options.notification_method); |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 82 | network_task_runner_ = notifier_options.request_context_getter-> |
| 83 | GetNetworkTaskRunner(); |
| 84 | DCHECK(network_task_runner_->BelongsToCurrentThread()); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 85 | invalidation_notifier_.reset( |
[email protected] | e3b0ee5 | 2011-10-12 03:04:13 | [diff] [blame] | 86 | new InvalidationNotifier( |
[email protected] | 1f7eba7 | 2012-05-30 09:10:17 | [diff] [blame] | 87 | notifier::PushClient::CreateDefaultOnIOThread(notifier_options), |
[email protected] | d551123 | 2013-03-28 01:34:54 | [diff] [blame] | 88 | invalidator_client_id, |
[email protected] | a7b1639 | 2013-11-26 22:46:26 | [diff] [blame^] | 89 | saved_invalidations, |
[email protected] | 8cdb689 | 2012-10-03 05:54:40 | [diff] [blame] | 90 | invalidation_bootstrap_data, |
[email protected] | 46e43ee | 2012-05-18 19:24:41 | [diff] [blame] | 91 | invalidation_state_tracker, |
[email protected] | e3b0ee5 | 2011-10-12 03:04:13 | [diff] [blame] | 92 | client_info)); |
[email protected] | 85b25eb | 2012-08-10 19:32:08 | [diff] [blame] | 93 | invalidation_notifier_->RegisterHandler(this); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 94 | } |
| 95 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 96 | void NonBlockingInvalidator::Core::Teardown() { |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 97 | DCHECK(network_task_runner_->BelongsToCurrentThread()); |
[email protected] | 85b25eb | 2012-08-10 19:32:08 | [diff] [blame] | 98 | invalidation_notifier_->UnregisterHandler(this); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 99 | invalidation_notifier_.reset(); |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 100 | network_task_runner_ = NULL; |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 101 | } |
| 102 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 103 | void NonBlockingInvalidator::Core::UpdateRegisteredIds(const ObjectIdSet& ids) { |
[email protected] | d914f02 | 2012-07-27 02:02:00 | [diff] [blame] | 104 | DCHECK(network_task_runner_->BelongsToCurrentThread()); |
| 105 | invalidation_notifier_->UpdateRegisteredIds(this, ids); |
| 106 | } |
| 107 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 108 | void NonBlockingInvalidator::Core::UpdateCredentials(const std::string& email, |
| 109 | const std::string& token) { |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 110 | DCHECK(network_task_runner_->BelongsToCurrentThread()); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 111 | invalidation_notifier_->UpdateCredentials(email, token); |
| 112 | } |
| 113 | |
[email protected] | 08a6f999 | 2012-09-07 19:19:16 | [diff] [blame] | 114 | void NonBlockingInvalidator::Core::OnInvalidatorStateChange( |
| 115 | InvalidatorState reason) { |
[email protected] | 2d3d1d1 | 2012-06-18 20:50:28 | [diff] [blame] | 116 | DCHECK(network_task_runner_->BelongsToCurrentThread()); |
| 117 | delegate_observer_.Call( |
[email protected] | 08a6f999 | 2012-09-07 19:19:16 | [diff] [blame] | 118 | FROM_HERE, &InvalidationHandler::OnInvalidatorStateChange, reason); |
[email protected] | 2d3d1d1 | 2012-06-18 20:50:28 | [diff] [blame] | 119 | } |
| 120 | |
[email protected] | 08a6f999 | 2012-09-07 19:19:16 | [diff] [blame] | 121 | void NonBlockingInvalidator::Core::OnIncomingInvalidation( |
[email protected] | 0d0b59d | 2013-02-02 00:24:47 | [diff] [blame] | 122 | const ObjectIdInvalidationMap& invalidation_map) { |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 123 | DCHECK(network_task_runner_->BelongsToCurrentThread()); |
[email protected] | b9908a24 | 2011-11-19 09:31:32 | [diff] [blame] | 124 | delegate_observer_.Call(FROM_HERE, |
[email protected] | 08a6f999 | 2012-09-07 19:19:16 | [diff] [blame] | 125 | &InvalidationHandler::OnIncomingInvalidation, |
[email protected] | 0d0b59d | 2013-02-02 00:24:47 | [diff] [blame] | 126 | invalidation_map); |
[email protected] | 942e202 | 2011-04-07 22:27:43 | [diff] [blame] | 127 | } |
| 128 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 129 | NonBlockingInvalidator::NonBlockingInvalidator( |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 130 | const notifier::NotifierOptions& notifier_options, |
[email protected] | d551123 | 2013-03-28 01:34:54 | [diff] [blame] | 131 | const std::string& invalidator_client_id, |
[email protected] | a7b1639 | 2013-11-26 22:46:26 | [diff] [blame^] | 132 | const UnackedInvalidationsMap& saved_invalidations, |
[email protected] | 8cdb689 | 2012-10-03 05:54:40 | [diff] [blame] | 133 | const std::string& invalidation_bootstrap_data, |
[email protected] | d45f0d9 | 2012-07-20 17:25:41 | [diff] [blame] | 134 | const WeakHandle<InvalidationStateTracker>& |
[email protected] | 46e43ee | 2012-05-18 19:24:41 | [diff] [blame] | 135 | invalidation_state_tracker, |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 136 | const std::string& client_info) |
[email protected] | 37d5b347 | 2013-10-10 16:20:36 | [diff] [blame] | 137 | : parent_task_runner_(base::ThreadTaskRunnerHandle::Get()), |
| 138 | network_task_runner_( |
| 139 | notifier_options.request_context_getter->GetNetworkTaskRunner()), |
| 140 | weak_ptr_factory_(this) { |
| 141 | core_ = new Core(MakeWeakHandle(weak_ptr_factory_.GetWeakPtr())); |
| 142 | |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 143 | if (!network_task_runner_->PostTask( |
[email protected] | daf4e10 | 2011-04-26 08:30:28 | [diff] [blame] | 144 | FROM_HERE, |
[email protected] | 09e170f | 2011-10-28 23:22:02 | [diff] [blame] | 145 | base::Bind( |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 146 | &NonBlockingInvalidator::Core::Initialize, |
[email protected] | 09e170f | 2011-10-28 23:22:02 | [diff] [blame] | 147 | core_.get(), |
[email protected] | e3b0ee5 | 2011-10-12 03:04:13 | [diff] [blame] | 148 | notifier_options, |
[email protected] | d551123 | 2013-03-28 01:34:54 | [diff] [blame] | 149 | invalidator_client_id, |
[email protected] | a7b1639 | 2013-11-26 22:46:26 | [diff] [blame^] | 150 | saved_invalidations, |
[email protected] | 8cdb689 | 2012-10-03 05:54:40 | [diff] [blame] | 151 | invalidation_bootstrap_data, |
[email protected] | 46e43ee | 2012-05-18 19:24:41 | [diff] [blame] | 152 | invalidation_state_tracker, |
[email protected] | e3b0ee5 | 2011-10-12 03:04:13 | [diff] [blame] | 153 | client_info))) { |
[email protected] | daf4e10 | 2011-04-26 08:30:28 | [diff] [blame] | 154 | NOTREACHED(); |
[email protected] | 0a561205 | 2011-06-29 03:29:18 | [diff] [blame] | 155 | } |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 156 | } |
| 157 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 158 | NonBlockingInvalidator::~NonBlockingInvalidator() { |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 159 | DCHECK(parent_task_runner_->BelongsToCurrentThread()); |
| 160 | if (!network_task_runner_->PostTask( |
[email protected] | daf4e10 | 2011-04-26 08:30:28 | [diff] [blame] | 161 | FROM_HERE, |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 162 | base::Bind(&NonBlockingInvalidator::Core::Teardown, |
[email protected] | 09e170f | 2011-10-28 23:22:02 | [diff] [blame] | 163 | core_.get()))) { |
[email protected] | 93dcabfb | 2013-07-31 01:31:55 | [diff] [blame] | 164 | DVLOG(1) << "Network thread stopped before invalidator is destroyed."; |
[email protected] | 0a561205 | 2011-06-29 03:29:18 | [diff] [blame] | 165 | } |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 166 | } |
| 167 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 168 | void NonBlockingInvalidator::RegisterHandler(InvalidationHandler* handler) { |
[email protected] | 6529382 | 2012-08-10 04:07:19 | [diff] [blame] | 169 | DCHECK(parent_task_runner_->BelongsToCurrentThread()); |
[email protected] | 85b25eb | 2012-08-10 19:32:08 | [diff] [blame] | 170 | registrar_.RegisterHandler(handler); |
| 171 | } |
| 172 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 173 | void NonBlockingInvalidator::UpdateRegisteredIds(InvalidationHandler* handler, |
| 174 | const ObjectIdSet& ids) { |
[email protected] | 85b25eb | 2012-08-10 19:32:08 | [diff] [blame] | 175 | DCHECK(parent_task_runner_->BelongsToCurrentThread()); |
| 176 | registrar_.UpdateRegisteredIds(handler, ids); |
[email protected] | d914f02 | 2012-07-27 02:02:00 | [diff] [blame] | 177 | if (!network_task_runner_->PostTask( |
| 178 | FROM_HERE, |
| 179 | base::Bind( |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 180 | &NonBlockingInvalidator::Core::UpdateRegisteredIds, |
[email protected] | d914f02 | 2012-07-27 02:02:00 | [diff] [blame] | 181 | core_.get(), |
[email protected] | 85b25eb | 2012-08-10 19:32:08 | [diff] [blame] | 182 | registrar_.GetAllRegisteredIds()))) { |
[email protected] | d914f02 | 2012-07-27 02:02:00 | [diff] [blame] | 183 | NOTREACHED(); |
| 184 | } |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 185 | } |
| 186 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 187 | void NonBlockingInvalidator::UnregisterHandler(InvalidationHandler* handler) { |
[email protected] | 85b25eb | 2012-08-10 19:32:08 | [diff] [blame] | 188 | DCHECK(parent_task_runner_->BelongsToCurrentThread()); |
| 189 | registrar_.UnregisterHandler(handler); |
| 190 | } |
| 191 | |
[email protected] | 08a6f999 | 2012-09-07 19:19:16 | [diff] [blame] | 192 | InvalidatorState NonBlockingInvalidator::GetInvalidatorState() const { |
| 193 | DCHECK(parent_task_runner_->BelongsToCurrentThread()); |
| 194 | return registrar_.GetInvalidatorState(); |
| 195 | } |
| 196 | |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 197 | void NonBlockingInvalidator::UpdateCredentials(const std::string& email, |
| 198 | const std::string& token) { |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 199 | DCHECK(parent_task_runner_->BelongsToCurrentThread()); |
| 200 | if (!network_task_runner_->PostTask( |
[email protected] | daf4e10 | 2011-04-26 08:30:28 | [diff] [blame] | 201 | FROM_HERE, |
[email protected] | a329cb8 | 2012-08-28 03:17:58 | [diff] [blame] | 202 | base::Bind(&NonBlockingInvalidator::Core::UpdateCredentials, |
[email protected] | 09e170f | 2011-10-28 23:22:02 | [diff] [blame] | 203 | core_.get(), email, token))) { |
[email protected] | daf4e10 | 2011-04-26 08:30:28 | [diff] [blame] | 204 | NOTREACHED(); |
[email protected] | 0a561205 | 2011-06-29 03:29:18 | [diff] [blame] | 205 | } |
[email protected] | 0a80fed | 2011-03-24 22:31:48 | [diff] [blame] | 206 | } |
| 207 | |
[email protected] | 08a6f999 | 2012-09-07 19:19:16 | [diff] [blame] | 208 | void NonBlockingInvalidator::OnInvalidatorStateChange(InvalidatorState state) { |
[email protected] | 2d3d1d1 | 2012-06-18 20:50:28 | [diff] [blame] | 209 | DCHECK(parent_task_runner_->BelongsToCurrentThread()); |
[email protected] | 08a6f999 | 2012-09-07 19:19:16 | [diff] [blame] | 210 | registrar_.UpdateInvalidatorState(state); |
[email protected] | 2d3d1d1 | 2012-06-18 20:50:28 | [diff] [blame] | 211 | } |
| 212 | |
[email protected] | 08a6f999 | 2012-09-07 19:19:16 | [diff] [blame] | 213 | void NonBlockingInvalidator::OnIncomingInvalidation( |
[email protected] | 0d0b59d | 2013-02-02 00:24:47 | [diff] [blame] | 214 | const ObjectIdInvalidationMap& invalidation_map) { |
[email protected] | 4969b012 | 2012-06-16 01:58:28 | [diff] [blame] | 215 | DCHECK(parent_task_runner_->BelongsToCurrentThread()); |
[email protected] | 0d0b59d | 2013-02-02 00:24:47 | [diff] [blame] | 216 | registrar_.DispatchInvalidationsToHandlers(invalidation_map); |
[email protected] | b9908a24 | 2011-11-19 09:31:32 | [diff] [blame] | 217 | } |
| 218 | |
[email protected] | 65f17355 | 2012-06-28 22:43:58 | [diff] [blame] | 219 | } // namespace syncer |