Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Side by Side Diff: jingle/notifier/listener/subscribe_task.h

Issue 2885005: Move chrome/common/net/notifier to jingle/notifier so that it can be used by remoting/remoting.gyp. (Closed) Base URL: git://codf21.jail.google.com/chromium.git
Patch Set: rebased Created 10 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « jingle/notifier/listener/send_update_task_unittest.cc ('k') | jingle/notifier/listener/subscribe_task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698