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

Side by Side Diff: net/socket_stream/socket_stream_job.cc

Issue 601077: Support HttpOnly cookie on Web Socket (Closed)
Patch Set: fix darin's comment Created 10 years, 9 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 unified diff | Download patch
« no previous file with comments | « net/socket_stream/socket_stream_job.h ('k') | net/socket_stream/socket_stream_job_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "net/socket_stream/socket_stream_job.h"
6
7 #include "net/socket_stream/socket_stream_job_manager.h"
8
9 namespace net {
10
11 static SocketStreamJobManager* GetJobManager() {
12 return Singleton<SocketStreamJobManager>::get();
13 }
14
15 // static
16 SocketStreamJob::ProtocolFactory* SocketStreamJob::RegisterProtocolFactory(
17 const std::string& scheme, ProtocolFactory* factory) {
18 return GetJobManager()->RegisterProtocolFactory(scheme, factory);
19 }
20
21 // static
22 SocketStreamJob* SocketStreamJob::CreateSocketStreamJob(
23 const GURL& url, SocketStream::Delegate* delegate) {
24 return GetJobManager()->CreateJob(url, delegate);
25 }
26
27 } // namespace net
OLDNEW
« no previous file with comments | « net/socket_stream/socket_stream_job.h ('k') | net/socket_stream/socket_stream_job_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698