| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 // This class handles subscribing to talk notifications. It does the getAll iq | 5 // This class handles subscribing to talk notifications. It does the getAll iq |
| 6 // stanza which establishes the endpoint and directs future notifications to be | 6 // stanza which establishes the endpoint and directs future notifications to be |
| 7 // pushed. | 7 // pushed. |
| 8 | 8 |
| 9 #ifndef CHROME_COMMON_NET_NOTIFIER_LISTENER_SUBSCRIBE_TASK_H_ | 9 #ifndef JINGLE_NOTIFIER_LISTENER_SUBSCRIBE_TASK_H_ |
| 10 #define CHROME_COMMON_NET_NOTIFIER_LISTENER_SUBSCRIBE_TASK_H_ | 10 #define JINGLE_NOTIFIER_LISTENER_SUBSCRIBE_TASK_H_ |
| 11 | 11 |
| 12 #include <string> | 12 #include <string> |
| 13 #include <vector> | 13 #include <vector> |
| 14 | 14 |
| 15 #include "talk/xmllite/xmlelement.h" | 15 #include "talk/xmllite/xmlelement.h" |
| 16 #include "talk/xmpp/xmpptask.h" | 16 #include "talk/xmpp/xmpptask.h" |
| 17 #include "testing/gtest/include/gtest/gtest_prod.h" | 17 #include "testing/gtest/include/gtest/gtest_prod.h" |
| 18 | 18 |
| 19 namespace notifier { | 19 namespace notifier { |
| 20 // TODO(akalin): Remove NOTIFICATION_LEGACY and remove/refactor relevant code | 20 // TODO(akalin): Remove NOTIFICATION_LEGACY and remove/refactor relevant code |
| (...skipping 20 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 std::vector<std::string> subscribed_services_list_; | 42 std::vector<std::string> subscribed_services_list_; |
| 43 | 43 |
| 44 FRIEND_TEST(SubscribeTaskTest, MakeSubscriptionMessage); | 44 FRIEND_TEST(SubscribeTaskTest, MakeSubscriptionMessage); |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(SubscribeTask); | 46 DISALLOW_COPY_AND_ASSIGN(SubscribeTask); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace notifier | 49 } // namespace notifier |
| 50 | 50 |
| 51 #endif // CHROME_COMMON_NET_NOTIFIER_LISTENER_SUBSCRIBE_TASK_H_ | 51 #endif // JINGLE_NOTIFIER_LISTENER_SUBSCRIBE_TASK_H_ |
| OLD | NEW |