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

Side by Side Diff: net/socket_stream/socket_stream_job_manager.h

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.cc ('k') | net/socket_stream/socket_stream_job_manager.cc » ('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 #ifndef NET_SOCKET_STREAM_SOCKET_STREAM_JOB_MANAGER_H_
6 #define NET_SOCKET_STREAM_SOCKET_STREAM_JOB_MANAGER_H_
7
8 #include <map>
9 #include <string>
10
11 #include "net/socket_stream/socket_stream.h"
12 #include "net/socket_stream/socket_stream_job.h"
13
14 class GURL;
15
16 namespace net {
17
18 class SocketStreamJobManager {
19 public:
20 SocketStreamJobManager();
21 ~SocketStreamJobManager();
22
23 SocketStreamJob* CreateJob(
24 const GURL& url, SocketStream::Delegate* delegate) const;
25
26 SocketStreamJob::ProtocolFactory* RegisterProtocolFactory(
27 const std::string& scheme, SocketStreamJob::ProtocolFactory* factory);
28
29 private:
30 typedef std::map<std::string, SocketStreamJob::ProtocolFactory*> FactoryMap;
31
32 mutable Lock lock_;
33 FactoryMap factories_;
34
35 DISALLOW_COPY_AND_ASSIGN(SocketStreamJobManager);
36 };
37
38 } // namespace net
39
40 #endif // NET_SOCKET_STREAM_SOCKET_STREAM_JOB_MANAGER_H_
OLDNEW
« no previous file with comments | « net/socket_stream/socket_stream_job.cc ('k') | net/socket_stream/socket_stream_job_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698