OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 #ifndef REMOTING_HOST_GCD_NOTIFICATION_SUBSCRIBER_H_ | 5 #ifndef REMOTING_HOST_GCD_NOTIFICATION_SUBSCRIBER_H_ |
6 #define REMOTING_HOST_GCD_NOTIFICATION_SUBSCRIBER_H_ | 6 #define REMOTING_HOST_GCD_NOTIFICATION_SUBSCRIBER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/macros.h" |
12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
13 #include "remoting/signaling/signal_strategy.h" | 13 #include "remoting/signaling/signal_strategy.h" |
14 | 14 |
15 namespace remoting { | 15 namespace remoting { |
16 | 16 |
17 class IqSender; | 17 class IqSender; |
18 class IqRequest; | 18 class IqRequest; |
19 | 19 |
20 // An object that subscribes to push notifications using an XMPP | 20 // An object that subscribes to push notifications using an XMPP |
21 // channel. The notifications themselves are ignored, but creating a | 21 // channel. The notifications themselves are ignored, but creating a |
(...skipping 27 matching lines...) Expand all Loading... |
49 SubscriptionList subscriptions_; | 49 SubscriptionList subscriptions_; |
50 scoped_ptr<IqSender> iq_sender_; | 50 scoped_ptr<IqSender> iq_sender_; |
51 scoped_ptr<IqRequest> iq_request_; | 51 scoped_ptr<IqRequest> iq_request_; |
52 | 52 |
53 DISALLOW_COPY_AND_ASSIGN(PushNotificationSubscriber); | 53 DISALLOW_COPY_AND_ASSIGN(PushNotificationSubscriber); |
54 }; | 54 }; |
55 | 55 |
56 } // namespace remoting | 56 } // namespace remoting |
57 | 57 |
58 #endif // REMOTING_HOST_GCD_NOTIFICATION_SUBSCRIBER_H_ | 58 #endif // REMOTING_HOST_GCD_NOTIFICATION_SUBSCRIBER_H_ |
OLD | NEW |