diff options
author | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 23:34:23 +0000 |
---|---|---|
committer | garykac@chromium.org <garykac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-08 23:34:23 +0000 |
commit | c3ddba29664d91b8910489150171496b28355bbb (patch) | |
tree | 7b0273861652a98310037d074041d40dfbd6fbca /remoting/protocol/fake_session.cc | |
parent | 5000ade63130b45452cb1d0d67d1f92e77c3436f (diff) | |
download | chromium_src-c3ddba29664d91b8910489150171496b28355bbb.zip chromium_src-c3ddba29664d91b8910489150171496b28355bbb.tar.gz chromium_src-c3ddba29664d91b8910489150171496b28355bbb.tar.bz2 |
Chromoting: Rename ChromotocolConfig -> SessionConfig
BUG=none
TEST=build chrome, chromoting
Review URL: http://codereview.chromium.org/4446005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65451 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/protocol/fake_session.cc')
-rw-r--r-- | remoting/protocol/fake_session.cc | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/remoting/protocol/fake_session.cc b/remoting/protocol/fake_session.cc index 492f4d8..4b3ff51 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 |