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

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

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 #include "chrome/common/net/notifier/listener/subscribe_task.h" 5 #include "jingle/notifier/listener/subscribe_task.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "chrome/common/net/notifier/listener/notification_constants.h" 10 #include "jingle/notifier/listener/notification_constants.h"
11 #include "chrome/common/net/notifier/listener/xml_element_util.h" 11 #include "jingle/notifier/listener/xml_element_util.h"
12 #include "talk/base/task.h" 12 #include "talk/base/task.h"
13 #include "talk/xmllite/qname.h" 13 #include "talk/xmllite/qname.h"
14 #include "talk/xmllite/xmlelement.h" 14 #include "talk/xmllite/xmlelement.h"
15 #include "talk/xmpp/xmppclient.h" 15 #include "talk/xmpp/xmppclient.h"
16 #include "talk/xmpp/constants.h" 16 #include "talk/xmpp/constants.h"
17 #include "talk/xmpp/xmppengine.h" 17 #include "talk/xmpp/xmppengine.h"
18 18
19 namespace notifier { 19 namespace notifier {
20 20
21 SubscribeTask::SubscribeTask( 21 SubscribeTask::SubscribeTask(
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 get_all->AddElement( 100 get_all->AddElement(
101 MakeStringXmlElement("SubscribedServiceUrl", iter->c_str())); 101 MakeStringXmlElement("SubscribedServiceUrl", iter->c_str()));
102 } 102 }
103 if (!subscribed_services_list.empty()) { 103 if (!subscribed_services_list.empty()) {
104 get_all->AddElement(MakeBoolXmlElement("FilterNonSubscribed", true)); 104 get_all->AddElement(MakeBoolXmlElement("FilterNonSubscribed", true));
105 } 105 }
106 return iq; 106 return iq;
107 } 107 }
108 108
109 } // namespace notifier 109 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/listener/subscribe_task.h ('k') | jingle/notifier/listener/subscribe_task_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698