OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_BROWSER_RENDERER_HOST_SOCKET_STREAM_DISPATCHER_HOST_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_SOCKET_STREAM_DISPATCHER_HOST_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_SOCKET_STREAM_DISPATCHER_HOST_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_SOCKET_STREAM_DISPATCHER_HOST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/callback_forward.h" | 10 #include "base/callback_forward.h" |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 | 81 |
82 void DeleteSocketStreamHost(int socket_id); | 82 void DeleteSocketStreamHost(int socket_id); |
83 | 83 |
84 net::URLRequestContext* GetURLRequestContext(); | 84 net::URLRequestContext* GetURLRequestContext(); |
85 | 85 |
86 IDMap<SocketStreamHost> hosts_; | 86 IDMap<SocketStreamHost> hosts_; |
87 int render_process_id_; | 87 int render_process_id_; |
88 GetRequestContextCallback request_context_callback_; | 88 GetRequestContextCallback request_context_callback_; |
89 ResourceContext* resource_context_; | 89 ResourceContext* resource_context_; |
90 | 90 |
| 91 bool on_shutdown_; |
| 92 |
91 base::WeakPtrFactory<SocketStreamDispatcherHost> weak_ptr_factory_; | 93 base::WeakPtrFactory<SocketStreamDispatcherHost> weak_ptr_factory_; |
92 bool on_shutdown_; | |
93 | 94 |
94 DISALLOW_COPY_AND_ASSIGN(SocketStreamDispatcherHost); | 95 DISALLOW_COPY_AND_ASSIGN(SocketStreamDispatcherHost); |
95 }; | 96 }; |
96 | 97 |
97 } // namespace content | 98 } // namespace content |
98 | 99 |
99 #endif // CONTENT_BROWSER_RENDERER_HOST_SOCKET_STREAM_DISPATCHER_HOST_H_ | 100 #endif // CONTENT_BROWSER_RENDERER_HOST_SOCKET_STREAM_DISPATCHER_HOST_H_ |
OLD | NEW |