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

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: Created 7 years, 8 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 112 }
113 113
114 PP_Resource PepperInProcessResourceCreation::CreateURLResponseInfo( 114 PP_Resource PepperInProcessResourceCreation::CreateURLResponseInfo(
115 PP_Instance instance, 115 PP_Instance instance,
116 const ::ppapi::URLResponseInfoData& data, 116 const ::ppapi::URLResponseInfoData& data,
117 PP_Resource file_ref_resource) { 117 PP_Resource file_ref_resource) {
118 return (new ppapi::proxy::URLResponseInfoResource( 118 return (new ppapi::proxy::URLResponseInfoResource(
119 host_impl_->in_process_router()->GetPluginConnection(), 119 host_impl_->in_process_router()->GetPluginConnection(),
120 instance, data, file_ref_resource))->GetReference(); 120 instance, data, file_ref_resource))->GetReference();
121 } 121 }
122 PP_Resource PepperInProcessResourceCreation::CreateVideoReader(
123 PP_Instance instance) {
124 NOTIMPLEMENTED();
125 return 0;
126 }
127
128 PP_Resource PepperInProcessResourceCreation::CreateVideoWriter(
129 PP_Instance instance) {
130 NOTIMPLEMENTED();
131 return 0;
132 }
122 133
123 PP_Resource PepperInProcessResourceCreation::CreateWebSocket( 134 PP_Resource PepperInProcessResourceCreation::CreateWebSocket(
124 PP_Instance instance) { 135 PP_Instance instance) {
125 return (new ppapi::proxy::WebSocketResource( 136 return (new ppapi::proxy::WebSocketResource(
126 host_impl_->in_process_router()->GetPluginConnection(), 137 host_impl_->in_process_router()->GetPluginConnection(),
127 instance))->GetReference(); 138 instance))->GetReference();
128 } 139 }
129 140
130 } // namespace content 141 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698