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

Unified Diff: remoting/protocol/jingle_session.h

Issue 8116021: Switch remoting/protocol to new callbacks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 9 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/protocol/input_sender.cc ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/jingle_session.h
diff --git a/remoting/protocol/jingle_session.h b/remoting/protocol/jingle_session.h
index cd467a1dff24beb9b300f8425fc7ef5eba0c9f7b..4bff0014a5c7b3c6800ab8cbdf0d20e0deca5389 100644
--- a/remoting/protocol/jingle_session.h
+++ b/remoting/protocol/jingle_session.h
@@ -27,7 +27,8 @@ class JingleSession : public protocol::Session,
public sigslot::has_slots<> {
public:
// Session interface.
- virtual void SetStateChangeCallback(StateChangeCallback* callback) OVERRIDE;
+ virtual void SetStateChangeCallback(
+ const StateChangeCallback& callback) OVERRIDE;
virtual Error error() OVERRIDE;
virtual void CreateStreamChannel(
const std::string& name,
@@ -149,7 +150,7 @@ class JingleSession : public protocol::Session,
std::string shared_secret_;
State state_;
- scoped_ptr<StateChangeCallback> state_change_callback_;
+ StateChangeCallback state_change_callback_;
Error error_;
« no previous file with comments | « remoting/protocol/input_sender.cc ('k') | remoting/protocol/jingle_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698