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

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

Issue 13771020: Add Pepper VideoReader and VideoWriter plumbing (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ImageData management, depends on 14170012 Created 7 years, 7 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) 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 121 }
122 122
123 PP_Resource PepperInProcessResourceCreation::CreateURLResponseInfo( 123 PP_Resource PepperInProcessResourceCreation::CreateURLResponseInfo(
124 PP_Instance instance, 124 PP_Instance instance,
125 const ::ppapi::URLResponseInfoData& data, 125 const ::ppapi::URLResponseInfoData& data,
126 PP_Resource file_ref_resource) { 126 PP_Resource file_ref_resource) {
127 return (new ppapi::proxy::URLResponseInfoResource( 127 return (new ppapi::proxy::URLResponseInfoResource(
128 host_impl_->in_process_router()->GetPluginConnection(), 128 host_impl_->in_process_router()->GetPluginConnection(),
129 instance, data, file_ref_resource))->GetReference(); 129 instance, data, file_ref_resource))->GetReference();
130 } 130 }
131 PP_Resource PepperInProcessResourceCreation::CreateVideoDestination(
yzshen1 2013/05/01 23:18:33 nit: Usually these NOTIMPLEMENTED Create*() are pl
bbudge 2013/05/02 21:39:06 Done.
132 PP_Instance instance) {
133 NOTIMPLEMENTED();
134 return 0;
135 }
136
137 PP_Resource PepperInProcessResourceCreation::CreateVideoSource(
138 PP_Instance instance) {
139 NOTIMPLEMENTED();
140 return 0;
141 }
131 142
132 PP_Resource PepperInProcessResourceCreation::CreateWebSocket( 143 PP_Resource PepperInProcessResourceCreation::CreateWebSocket(
133 PP_Instance instance) { 144 PP_Instance instance) {
134 return (new ppapi::proxy::WebSocketResource( 145 return (new ppapi::proxy::WebSocketResource(
135 host_impl_->in_process_router()->GetPluginConnection(), 146 host_impl_->in_process_router()->GetPluginConnection(),
136 instance))->GetReference(); 147 instance))->GetReference();
137 } 148 }
138 149
139 } // namespace content 150 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698