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 "sync/notifier/p2p_invalidator.h" | 5 #include "sync/notifier/p2p_invalidator.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <iterator> | |
rlarocque
2013/08/30 17:08:43
I don't see why IWYU thought this was necessary.
Mostyn Bramley-Moore
2013/08/30 17:14:48
I didn't run IWYU on this file, but after making s
| |
8 | 9 |
9 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
10 #include "base/json/json_writer.h" | 11 #include "base/json/json_writer.h" |
11 #include "base/logging.h" | 12 #include "base/logging.h" |
12 #include "base/values.h" | 13 #include "base/values.h" |
13 #include "jingle/notifier/listener/push_client.h" | 14 #include "jingle/notifier/listener/push_client.h" |
14 #include "sync/notifier/invalidation_handler.h" | 15 #include "sync/notifier/invalidation_handler.h" |
15 #include "sync/notifier/invalidation_util.h" | 16 #include "sync/notifier/invalidation_util.h" |
16 | 17 |
17 namespace syncer { | 18 namespace syncer { |
(...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
293 return; | 294 return; |
294 } | 295 } |
295 notifier::Notification notification; | 296 notifier::Notification notification; |
296 notification.channel = kSyncP2PNotificationChannel; | 297 notification.channel = kSyncP2PNotificationChannel; |
297 notification.data = notification_data.ToString(); | 298 notification.data = notification_data.ToString(); |
298 DVLOG(1) << "Sending XMPP notification: " << notification.ToString(); | 299 DVLOG(1) << "Sending XMPP notification: " << notification.ToString(); |
299 push_client_->SendNotification(notification); | 300 push_client_->SendNotification(notification); |
300 } | 301 } |
301 | 302 |
302 } // namespace syncer | 303 } // namespace syncer |
OLD | NEW |