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

Unified Diff: remoting/protocol/fake_session.cc

Issue 4446005: Chromoting: Rename ChromotocolConfig -> SessionConfig (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Rename candidate_config vars Created 10 years, 1 month 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/fake_session.h ('k') | remoting/protocol/jingle_connection_to_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/protocol/fake_session.cc
diff --git a/remoting/protocol/fake_session.cc b/remoting/protocol/fake_session.cc
index 492f4d865b43b337460d26dc532057d77ece8978..4b3ff519cc9d7b2b9f07f04454cbd9d2dc52ef53 100644
--- a/remoting/protocol/fake_session.cc
+++ b/remoting/protocol/fake_session.cc
@@ -9,7 +9,6 @@
#include "net/base/net_errors.h"
namespace remoting {
-
namespace protocol {
const char kTestJid[] = "host1@gmail.com/chromoting123";
@@ -72,8 +71,8 @@ bool FakeSocket::SetSendBufferSize(int32 size) {
}
FakeSession::FakeSession()
- : candidate_config_(CandidateChromotocolConfig::CreateDefault()),
- config_(ChromotocolConfig::CreateDefault()),
+ : candidate_config_(CandidateSessionConfig::CreateDefault()),
+ config_(SessionConfig::CreateDefault()),
message_loop_(NULL),
jid_(kTestJid) {
}
@@ -113,17 +112,16 @@ MessageLoop* FakeSession::message_loop() {
return message_loop_;
}
-const CandidateChromotocolConfig*
-FakeSession::candidate_config() {
+const CandidateSessionConfig* FakeSession::candidate_config() {
return candidate_config_.get();
}
-const ChromotocolConfig* FakeSession::config() {
+const SessionConfig* FakeSession::config() {
CHECK(config_.get());
return config_.get();
}
-void FakeSession::set_config(const ChromotocolConfig* config) {
+void FakeSession::set_config(const SessionConfig* config) {
config_.reset(config);
}
@@ -134,5 +132,4 @@ void FakeSession::Close(Task* closed_task) {
}
} // namespace protocol
-
} // namespace remoting
« no previous file with comments | « remoting/protocol/fake_session.h ('k') | remoting/protocol/jingle_connection_to_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698