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

Unified Diff: remoting/client/plugin/delegating_signal_strategy.h

Issue 2384063008: Enables delegating signal strategy for It2Me Host. (Closed)
Patch Set: Fix typos Created 4 years, 2 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 | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/delegating_signal_strategy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/plugin/delegating_signal_strategy.h
diff --git a/remoting/client/plugin/delegating_signal_strategy.h b/remoting/client/plugin/delegating_signal_strategy.h
deleted file mode 100644
index 9a9096f44a5d1cb49fbeb7891a2fccb8269d5339..0000000000000000000000000000000000000000
--- a/remoting/client/plugin/delegating_signal_strategy.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef REMOTING_CLIENT_PLUGIN_DELEGATING_SIGNAL_STRATEGY_H_
-#define REMOTING_CLIENT_PLUGIN_DELEGATING_SIGNAL_STRATEGY_H_
-
-#include "base/callback.h"
-#include "base/macros.h"
-#include "base/observer_list.h"
-#include "remoting/signaling/signal_strategy.h"
-
-namespace base {
-class SingleThreadTaskRunner;
-} // namespace base
-
-namespace remoting {
-
-class DelegatingSignalStrategy : public SignalStrategy {
- public:
- typedef base::Callback<void(const std::string&)> SendIqCallback;
-
- DelegatingSignalStrategy(std::string local_jid,
- const SendIqCallback& send_iq_callback);
- ~DelegatingSignalStrategy() override;
-
- void OnIncomingMessage(const std::string& message);
-
- // SignalStrategy interface.
- void Connect() override;
- void Disconnect() override;
- State GetState() const override;
- Error GetError() const override;
- std::string GetLocalJid() const override;
- void AddListener(Listener* listener) override;
- void RemoveListener(Listener* listener) override;
- bool SendStanza(std::unique_ptr<buzz::XmlElement> stanza) override;
- std::string GetNextId() override;
-
- private:
- std::string local_jid_;
- SendIqCallback send_iq_callback_;
-
- base::ObserverList<Listener> listeners_;
-
- DISALLOW_COPY_AND_ASSIGN(DelegatingSignalStrategy);
-};
-
-} // namespace remoting
-
-#endif // REMOTING_CLIENT_PLUGIN_DELEGATING_SIGNAL_STRATEGY_H_
« no previous file with comments | « remoting/client/plugin/chromoting_instance.cc ('k') | remoting/client/plugin/delegating_signal_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698