summaryrefslogtreecommitdiffstats
path: root/net/socket_stream/socket_stream_job.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/socket_stream/socket_stream_job.cc')
-rw-r--r--net/socket_stream/socket_stream_job.cc34
1 files changed, 34 insertions, 0 deletions
diff --git a/net/socket_stream/socket_stream_job.cc b/net/socket_stream/socket_stream_job.cc
index c8849a5..0913015 100644
--- a/net/socket_stream/socket_stream_job.cc
+++ b/net/socket_stream/socket_stream_job.cc
@@ -24,4 +24,38 @@ SocketStreamJob* SocketStreamJob::CreateSocketStreamJob(
return GetJobManager()->CreateJob(url, delegate);
}
+SocketStreamJob::SocketStreamJob() {}
+
+SocketStream::UserData* SocketStreamJob::GetUserData(const void* key) const {
+ return socket_->GetUserData(key);
+}
+
+void SocketStreamJob::SetUserData(const void* key,
+ SocketStream::UserData* data) {
+ socket_->SetUserData(key, data);
+}
+
+void SocketStreamJob::Connect() {
+ socket_->Connect();
+}
+
+bool SocketStreamJob::SendData(const char* data, int len) {
+ return socket_->SendData(data, len);
+}
+
+void SocketStreamJob::Close() {
+ socket_->Close();
+}
+
+void SocketStreamJob::RestartWithAuth(const string16& username,
+ const string16& password) {
+ socket_->RestartWithAuth(username, password);
+}
+
+void SocketStreamJob::DetachDelegate() {
+ socket_->DetachDelegate();
+}
+
+SocketStreamJob::~SocketStreamJob() {}
+
} // namespace net