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

Unified Diff: remoting/protocol/fake_session.h

Issue 9567033: Cleanup error handling in the client plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: - Created 8 years, 10 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/errors.h ('k') | remoting/protocol/fake_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_session.h
diff --git a/remoting/protocol/fake_session.h b/remoting/protocol/fake_session.h
index 7ae3a06e6ed79c96349624261409b8a74e077c22..af3f0c456fcf0e0828f69f0df61d4ec24dfd78a5 100644
--- a/remoting/protocol/fake_session.h
+++ b/remoting/protocol/fake_session.h
@@ -140,7 +140,7 @@ class FakeSession : public Session {
message_loop_ = message_loop;
}
- void set_error(Session::Error error) { error_ = error; }
+ void set_error(ErrorCode error) { error_ = error; }
bool is_closed() const { return closed_; }
@@ -154,7 +154,7 @@ class FakeSession : public Session {
virtual void SetRouteChangeCallback(
const RouteChangeCallback& callback) OVERRIDE;
- virtual Session::Error error() OVERRIDE;
+ virtual ErrorCode error() OVERRIDE;
virtual void CreateStreamChannel(
const std::string& name, const StreamChannelCallback& callback) OVERRIDE;
@@ -182,7 +182,7 @@ class FakeSession : public Session {
std::string jid_;
- Session::Error error_;
+ ErrorCode error_;
bool closed_;
DISALLOW_COPY_AND_ASSIGN(FakeSession);
« no previous file with comments | « remoting/protocol/errors.h ('k') | remoting/protocol/fake_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698