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

Unified Diff: chrome/browser/renderer_host/socket_stream_host.cc

Issue 601077: Support HttpOnly cookie on Web Socket (Closed)
Patch Set: fix darin's comment Created 10 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 | « chrome/browser/renderer_host/socket_stream_host.h ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/socket_stream_host.cc
diff --git a/chrome/browser/renderer_host/socket_stream_host.cc b/chrome/browser/renderer_host/socket_stream_host.cc
index 6fc49b43b8359548a1b8b8fe3ae7e5a905a15bd7..67e860a4117eee191eca41f06a986e457ea1b778 100644
--- a/chrome/browser/renderer_host/socket_stream_host.cc
+++ b/chrome/browser/renderer_host/socket_stream_host.cc
@@ -9,7 +9,7 @@
#include "chrome/browser/net/url_request_context_getter.h"
#include "chrome/common/net/socket_stream.h"
#include "chrome/common/render_messages.h"
-#include "net/socket_stream/socket_stream.h"
+#include "net/socket_stream/socket_stream_job.h"
static const char* kSocketHostKey = "socketHost";
@@ -55,7 +55,7 @@ SocketStreamHost::~SocketStreamHost() {
void SocketStreamHost::Connect(const GURL& url) {
LOG(INFO) << "SocketStreamHost::Connect url=" << url;
- socket_ = new net::SocketStream(url, delegate_);
+ socket_ = net::SocketStreamJob::CreateSocketStreamJob(url, delegate_);
URLRequestContextGetter* context_getter = Profile::GetDefaultRequestContext();
if (context_getter)
socket_->set_context(context_getter->GetURLRequestContext());
« no previous file with comments | « chrome/browser/renderer_host/socket_stream_host.h ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698