| 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/push_client_channel.h" | 5 #include "sync/notifier/push_client_channel.h" |
| 6 | 6 |
| 7 #include "base/stl_util.h" | 7 #include "base/stl_util.h" |
| 8 #include "google/cacheinvalidation/v2/client_gateway.pb.h" | 8 #include "google/cacheinvalidation/client_gateway.pb.h" |
| 9 #include "jingle/notifier/listener/push_client.h" | 9 #include "jingle/notifier/listener/push_client.h" |
| 10 | 10 |
| 11 namespace syncer { | 11 namespace syncer { |
| 12 | 12 |
| 13 namespace { | 13 namespace { |
| 14 | 14 |
| 15 const char kBotJid[] = "tango@bot.talk.google.com"; | 15 const char kBotJid[] = "tango@bot.talk.google.com"; |
| 16 const char kChannelName[] = "tango_raw"; | 16 const char kChannelName[] = "tango_raw"; |
| 17 | 17 |
| 18 } // namespace | 18 } // namespace |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 150 if (envelope.has_service_context()) { | 150 if (envelope.has_service_context()) { |
| 151 *service_context = envelope.service_context(); | 151 *service_context = envelope.service_context(); |
| 152 } | 152 } |
| 153 if (envelope.has_rpc_scheduling_hash()) { | 153 if (envelope.has_rpc_scheduling_hash()) { |
| 154 *scheduling_hash = envelope.rpc_scheduling_hash(); | 154 *scheduling_hash = envelope.rpc_scheduling_hash(); |
| 155 } | 155 } |
| 156 return true; | 156 return true; |
| 157 } | 157 } |
| 158 | 158 |
| 159 } // namespace syncer | 159 } // namespace syncer |
| OLD | NEW |