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

Side by Side Diff: content/renderer/pepper/pepper_in_process_resource_creation.cc

Issue 16336013: Remove unused CreateURLResponseInfo function. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
OLDNEW
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 #include "content/renderer/pepper/pepper_in_process_resource_creation.h" 5 #include "content/renderer/pepper/pepper_in_process_resource_creation.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 instance))->GetReference(); 124 instance))->GetReference();
125 } 125 }
126 126
127 PP_Resource PepperInProcessResourceCreation::CreateURLRequestInfo( 127 PP_Resource PepperInProcessResourceCreation::CreateURLRequestInfo(
128 PP_Instance instance) { 128 PP_Instance instance) {
129 return (new ppapi::proxy::URLRequestInfoResource( 129 return (new ppapi::proxy::URLRequestInfoResource(
130 host_impl_->in_process_router()->GetPluginConnection(), 130 host_impl_->in_process_router()->GetPluginConnection(),
131 instance, ::ppapi::URLRequestInfoData()))->GetReference(); 131 instance, ::ppapi::URLRequestInfoData()))->GetReference();
132 } 132 }
133 133
134 PP_Resource PepperInProcessResourceCreation::CreateURLResponseInfo(
135 PP_Instance instance,
136 const ::ppapi::URLResponseInfoData& data,
137 PP_Resource file_ref_resource) {
138 return (new ppapi::proxy::URLResponseInfoResource(
139 host_impl_->in_process_router()->GetPluginConnection(),
140 instance, data, file_ref_resource))->GetReference();
141 }
142
143 PP_Resource PepperInProcessResourceCreation::CreateWebSocket( 134 PP_Resource PepperInProcessResourceCreation::CreateWebSocket(
144 PP_Instance instance) { 135 PP_Instance instance) {
145 return (new ppapi::proxy::WebSocketResource( 136 return (new ppapi::proxy::WebSocketResource(
146 host_impl_->in_process_router()->GetPluginConnection(), 137 host_impl_->in_process_router()->GetPluginConnection(),
147 instance))->GetReference(); 138 instance))->GetReference();
148 } 139 }
149 140
150 } // namespace content 141 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_in_process_resource_creation.h ('k') | ppapi/proxy/resource_creation_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698