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

Unified Diff: webrtc/libjingle/xmpp/xmpppump.h

Issue 2617443003: Remove webrtc/libjingle/{xmllite,xmpp} (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/libjingle/xmpp/xmpplogintask_unittest.cc ('k') | webrtc/libjingle/xmpp/xmpppump.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/libjingle/xmpp/xmpppump.h
diff --git a/webrtc/libjingle/xmpp/xmpppump.h b/webrtc/libjingle/xmpp/xmpppump.h
deleted file mode 100644
index bd1b5628b5976780a1089c9216445bc7c845a939..0000000000000000000000000000000000000000
--- a/webrtc/libjingle/xmpp/xmpppump.h
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * Copyright 2004 The WebRTC Project Authors. All rights reserved.
- *
- * Use of this source code is governed by a BSD-style license
- * that can be found in the LICENSE file in the root of the source
- * tree. An additional intellectual property rights grant can be found
- * in the file PATENTS. All contributing project authors may
- * be found in the AUTHORS file in the root of the source tree.
- */
-
-#ifndef WEBRTC_LIBJINGLE_XMPP_XMPPPUMP_H_
-#define WEBRTC_LIBJINGLE_XMPP_XMPPPUMP_H_
-
-#include "webrtc/libjingle/xmpp/xmppclient.h"
-#include "webrtc/libjingle/xmpp/xmppengine.h"
-#include "webrtc/libjingle/xmpp/xmpptask.h"
-#include "webrtc/base/messagequeue.h"
-#include "webrtc/base/taskrunner.h"
-#include "webrtc/base/thread.h"
-#include "webrtc/base/timeutils.h"
-
-namespace buzz {
-
-// Simple xmpp pump
-
-class XmppPumpNotify {
-public:
- virtual ~XmppPumpNotify() {}
- virtual void OnStateChange(buzz::XmppEngine::State state) = 0;
-};
-
-class XmppPump : public rtc::MessageHandler, public rtc::TaskRunner {
-public:
- XmppPump(buzz::XmppPumpNotify * notify = NULL);
-
- buzz::XmppClient *client() { return client_; }
-
- void DoLogin(const buzz::XmppClientSettings & xcs,
- buzz::AsyncSocket* socket,
- buzz::PreXmppAuth* auth);
- void DoDisconnect();
-
- void OnStateChange(buzz::XmppEngine::State state);
-
- void WakeTasks();
-
- int64_t CurrentTime();
-
- void OnMessage(rtc::Message *pmsg);
-
- buzz::XmppReturnStatus SendStanza(const buzz::XmlElement *stanza);
-
-private:
- buzz::XmppClient *client_;
- buzz::XmppEngine::State state_;
- buzz::XmppPumpNotify *notify_;
-};
-
-} // namespace buzz
-
-#endif // WEBRTC_LIBJINGLE_XMPP_XMPPPUMP_H_
-
« no previous file with comments | « webrtc/libjingle/xmpp/xmpplogintask_unittest.cc ('k') | webrtc/libjingle/xmpp/xmpppump.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698