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

Side by Side Diff: jingle/notifier/listener/listen_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
« no previous file with comments | « jingle/notifier/listener/listen_task.h ('k') | jingle/notifier/listener/mediator_thread.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/listen_task.h" 5 #include "jingle/notifier/listener/listen_task.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/common/net/notifier/listener/notification_constants.h" 8 #include "jingle/notifier/listener/notification_constants.h"
9 #include "chrome/common/net/notifier/listener/xml_element_util.h" 9 #include "jingle/notifier/listener/xml_element_util.h"
10 #include "talk/base/task.h" 10 #include "talk/base/task.h"
11 #include "talk/xmllite/qname.h" 11 #include "talk/xmllite/qname.h"
12 #include "talk/xmllite/xmlelement.h" 12 #include "talk/xmllite/xmlelement.h"
13 #include "talk/xmpp/xmppclient.h" 13 #include "talk/xmpp/xmppclient.h"
14 #include "talk/xmpp/constants.h" 14 #include "talk/xmpp/constants.h"
15 #include "talk/xmpp/xmppengine.h" 15 #include "talk/xmpp/xmppengine.h"
16 16
17 namespace notifier { 17 namespace notifier {
18 18
19 ListenTask::ListenTask(Task* parent) 19 ListenTask::ListenTask(Task* parent)
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 // <Timestamp long="#" xmlns=""/> 135 // <Timestamp long="#" xmlns=""/>
136 // </not:getAll> 136 // </not:getAll>
137 // </cli:iq> 137 // </cli:iq>
138 return 138 return
139 (MatchRequestIq(stanza, buzz::STR_SET, kQnNotifierGetAll) && 139 (MatchRequestIq(stanza, buzz::STR_SET, kQnNotifierGetAll) &&
140 (stanza->Attr(buzz::QN_TO) == GetClient()->jid().Str()) && 140 (stanza->Attr(buzz::QN_TO) == GetClient()->jid().Str()) &&
141 (stanza->Attr(buzz::QN_FROM) == GetClient()->jid().BareJid().Str())); 141 (stanza->Attr(buzz::QN_FROM) == GetClient()->jid().BareJid().Str()));
142 } 142 }
143 143
144 } // namespace notifier 144 } // namespace notifier
OLDNEW
« no previous file with comments | « jingle/notifier/listener/listen_task.h ('k') | jingle/notifier/listener/mediator_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698