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

Side by Side Diff: remoting/signaling/fake_signal_strategy.h

Issue 390983003: Remove remoting/jingle_glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « remoting/signaling/DEPS ('k') | remoting/signaling/fake_signal_strategy.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef REMOTING_JINGLE_GLUE_FAKE_SIGNAL_STRATEGY_H_ 5 #ifndef REMOTING_SIGNALING_FAKE_SIGNAL_STRATEGY_H_
6 #define REMOTING_JINGLE_GLUE_FAKE_SIGNAL_STRATEGY_H_ 6 #define REMOTING_SIGNALING_FAKE_SIGNAL_STRATEGY_H_
7 7
8 #include <list> 8 #include <list>
9 #include <queue> 9 #include <queue>
10 #include <string> 10 #include <string>
11 11
12 #include "base/memory/weak_ptr.h"
12 #include "base/observer_list.h" 13 #include "base/observer_list.h"
13 #include "base/memory/weak_ptr.h"
14 #include "base/threading/non_thread_safe.h" 14 #include "base/threading/non_thread_safe.h"
15 #include "remoting/jingle_glue/iq_sender.h" 15 #include "remoting/signaling/iq_sender.h"
16 #include "remoting/jingle_glue/signal_strategy.h" 16 #include "remoting/signaling/signal_strategy.h"
17 17
18 namespace remoting { 18 namespace remoting {
19 19
20 class FakeSignalStrategy : public SignalStrategy, 20 class FakeSignalStrategy : public SignalStrategy,
21 public base::NonThreadSafe { 21 public base::NonThreadSafe {
22 public: 22 public:
23 static void Connect(FakeSignalStrategy* peer1, FakeSignalStrategy* peer2); 23 static void Connect(FakeSignalStrategy* peer1, FakeSignalStrategy* peer2);
24 24
25 FakeSignalStrategy(const std::string& jid); 25 FakeSignalStrategy(const std::string& jid);
26 virtual ~FakeSignalStrategy(); 26 virtual ~FakeSignalStrategy();
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // Queue of messages that have yet to be delivered to observers. 58 // Queue of messages that have yet to be delivered to observers.
59 std::queue<buzz::XmlElement*> pending_messages_; 59 std::queue<buzz::XmlElement*> pending_messages_;
60 60
61 base::WeakPtrFactory<FakeSignalStrategy> weak_factory_; 61 base::WeakPtrFactory<FakeSignalStrategy> weak_factory_;
62 62
63 DISALLOW_COPY_AND_ASSIGN(FakeSignalStrategy); 63 DISALLOW_COPY_AND_ASSIGN(FakeSignalStrategy);
64 }; 64 };
65 65
66 } // namespace remoting 66 } // namespace remoting
67 67
68 #endif // REMOTING_JINGLE_GLUE_FAKE_SIGNAL_STRATEGY_H_ 68 #endif // REMOTING_SIGNALING_FAKE_SIGNAL_STRATEGY_H_
OLDNEW
« no previous file with comments | « remoting/signaling/DEPS ('k') | remoting/signaling/fake_signal_strategy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698