OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. | 2 * Copyright 2011 The WebRTC Project Authors. All rights reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 PubSubClient* client_; | 256 PubSubClient* client_; |
257 const QName state_name_; | 257 const QName state_name_; |
258 C default_state_; | 258 C default_state_; |
259 rtc::scoped_ptr<PubSubStateKeySerializer> key_serializer_; | 259 rtc::scoped_ptr<PubSubStateKeySerializer> key_serializer_; |
260 rtc::scoped_ptr<PubSubStateSerializer<C> > state_serializer_; | 260 rtc::scoped_ptr<PubSubStateSerializer<C> > state_serializer_; |
261 // key => state | 261 // key => state |
262 std::map<std::string, C> state_by_key_; | 262 std::map<std::string, C> state_by_key_; |
263 // itemid => StateItemInfo | 263 // itemid => StateItemInfo |
264 std::map<std::string, StateItemInfo> info_by_itemid_; | 264 std::map<std::string, StateItemInfo> info_by_itemid_; |
265 | 265 |
266 DISALLOW_COPY_AND_ASSIGN(PubSubStateClient); | 266 RTC_DISALLOW_COPY_AND_ASSIGN(PubSubStateClient); |
267 }; | 267 }; |
268 } // namespace buzz | 268 } // namespace buzz |
269 | 269 |
270 #endif // WEBRTC_LIBJINGLE_XMPP_PUBSUBSTATECLIENT_H_ | 270 #endif // WEBRTC_LIBJINGLE_XMPP_PUBSUBSTATECLIENT_H_ |
OLD | NEW |