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

Side by Side Diff: content/browser/renderer_host/socket_stream_dispatcher_host.cc

Issue 7575010: Removal of Profile from content part 7. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" 5 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "chrome/browser/profiles/profile.h"
9 #include "content/browser/content_browser_client.h" 8 #include "content/browser/content_browser_client.h"
10 #include "content/browser/renderer_host/socket_stream_host.h" 9 #include "content/browser/renderer_host/socket_stream_host.h"
11 #include "content/common/socket_stream.h" 10 #include "content/common/socket_stream.h"
12 #include "content/common/socket_stream_messages.h" 11 #include "content/common/socket_stream_messages.h"
13 #include "content/common/resource_messages.h" 12 #include "content/common/resource_messages.h"
14 #include "net/base/cookie_monster.h" 13 #include "net/base/cookie_monster.h"
15 #include "net/url_request/url_request_context_getter.h" 14 #include "net/url_request/url_request_context_getter.h"
16 #include "net/websockets/websocket_job.h" 15 #include "net/websockets/websocket_job.h"
17 #include "net/websockets/websocket_throttle.h" 16 #include "net/websockets/websocket_throttle.h"
18 17
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 hosts_.Remove(socket_id); 164 hosts_.Remove(socket_id);
166 if (!Send(new SocketStreamMsg_Closed(socket_id))) { 165 if (!Send(new SocketStreamMsg_Closed(socket_id))) {
167 LOG(ERROR) << "SocketStreamMsg_Closed failed."; 166 LOG(ERROR) << "SocketStreamMsg_Closed failed.";
168 } 167 }
169 } 168 }
170 169
171 net::URLRequestContext* SocketStreamDispatcherHost::GetURLRequestContext() { 170 net::URLRequestContext* SocketStreamDispatcherHost::GetURLRequestContext() {
172 return url_request_context_selector_->GetRequestContext( 171 return url_request_context_selector_->GetRequestContext(
173 ResourceType::SUB_RESOURCE); 172 ResourceType::SUB_RESOURCE);
174 } 173 }
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host.cc ('k') | content/browser/resolve_proxy_msg_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698