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

Side by Side Diff: remoting/protocol/fake_session.h

Issue 9271026: Add JingleSession::OnRouteChange(), and pass IP endpoint information to a (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and fix nits. Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/protocol/fake_session.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PROTOCOL_FAKE_SESSION_H_ 5 #ifndef REMOTING_PROTOCOL_FAKE_SESSION_H_
6 #define REMOTING_PROTOCOL_FAKE_SESSION_H_ 6 #define REMOTING_PROTOCOL_FAKE_SESSION_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 144
145 bool is_closed() const { return closed_; } 145 bool is_closed() const { return closed_; }
146 146
147 FakeSocket* GetStreamChannel(const std::string& name); 147 FakeSocket* GetStreamChannel(const std::string& name);
148 FakeUdpSocket* GetDatagramChannel(const std::string& name); 148 FakeUdpSocket* GetDatagramChannel(const std::string& name);
149 149
150 // Session implementation. 150 // Session implementation.
151 virtual void SetStateChangeCallback( 151 virtual void SetStateChangeCallback(
152 const StateChangeCallback& callback) OVERRIDE; 152 const StateChangeCallback& callback) OVERRIDE;
153 153
154 virtual void SetRouteChangeCallback(
155 const RouteChangeCallback& callback) OVERRIDE;
156
154 virtual Session::Error error() OVERRIDE; 157 virtual Session::Error error() OVERRIDE;
155 158
156 virtual void CreateStreamChannel( 159 virtual void CreateStreamChannel(
157 const std::string& name, const StreamChannelCallback& callback) OVERRIDE; 160 const std::string& name, const StreamChannelCallback& callback) OVERRIDE;
158 virtual void CreateDatagramChannel( 161 virtual void CreateDatagramChannel(
159 const std::string& name, 162 const std::string& name,
160 const DatagramChannelCallback& callback) OVERRIDE; 163 const DatagramChannelCallback& callback) OVERRIDE;
161 virtual void CancelChannelCreation(const std::string& name) OVERRIDE; 164 virtual void CancelChannelCreation(const std::string& name) OVERRIDE;
162 165
163 virtual const std::string& jid() OVERRIDE; 166 virtual const std::string& jid() OVERRIDE;
(...skipping 18 matching lines...) Expand all
182 Session::Error error_; 185 Session::Error error_;
183 bool closed_; 186 bool closed_;
184 187
185 DISALLOW_COPY_AND_ASSIGN(FakeSession); 188 DISALLOW_COPY_AND_ASSIGN(FakeSession);
186 }; 189 };
187 190
188 } // namespace protocol 191 } // namespace protocol
189 } // namespace remoting 192 } // namespace remoting
190 193
191 #endif // REMOTING_PROTOCOL_FAKE_SESSION_H_ 194 #endif // REMOTING_PROTOCOL_FAKE_SESSION_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/protocol/fake_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698