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

Unified Diff: content/browser/renderer_host/socket_stream_dispatcher_host.cc

Issue 425653002: content: ResourceType cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 5 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
Index: content/browser/renderer_host/socket_stream_dispatcher_host.cc
diff --git a/content/browser/renderer_host/socket_stream_dispatcher_host.cc b/content/browser/renderer_host/socket_stream_dispatcher_host.cc
index b08b119ed9230aab046dbca4918d0151cbc19920..c52023eb407c2e84234dc16b9964f98e83e8d0d4 100644
--- a/content/browser/renderer_host/socket_stream_dispatcher_host.cc
+++ b/content/browser/renderer_host/socket_stream_dispatcher_host.cc
@@ -144,7 +144,7 @@ void SocketStreamDispatcherHost::OnSSLCertificateError(
DCHECK(socket_stream_host);
GlobalRequestID request_id(-1, socket_id);
SSLManager::OnSSLCertificateError(
- weak_ptr_factory_.GetWeakPtr(), request_id, ResourceType::SUB_RESOURCE,
+ weak_ptr_factory_.GetWeakPtr(), request_id, RESOURCE_TYPE_SUB_RESOURCE,
socket->url(), render_process_id_, socket_stream_host->render_frame_id(),
ssl_info, fatal);
}
@@ -287,7 +287,7 @@ void SocketStreamDispatcherHost::DeleteSocketStreamHost(int socket_id) {
}
net::URLRequestContext* SocketStreamDispatcherHost::GetURLRequestContext() {
- return request_context_callback_.Run(ResourceType::SUB_RESOURCE);
+ return request_context_callback_.Run(RESOURCE_TYPE_SUB_RESOURCE);
}
void SocketStreamDispatcherHost::Shutdown() {
« no previous file with comments | « content/browser/renderer_host/socket_stream_dispatcher_host.h ('k') | content/browser/renderer_host/websocket_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698