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

Side by Side Diff: mojo/examples/pepper_container_app/resource_creation_impl.cc

Issue 547733002: [Pepper GL] Use shared state to fix a memory leak in MapSub GL extension. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remve base/memory/shared_memory.h from DEPS Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "mojo/examples/pepper_container_app/resource_creation_impl.h" 5 #include "mojo/examples/pepper_container_app/resource_creation_impl.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h" 8 #include "mojo/examples/pepper_container_app/graphics_3d_resource.h"
9 9
10 namespace mojo { 10 namespace mojo {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 PP_Resource ResourceCreationImpl::CreateGraphics3D( 175 PP_Resource ResourceCreationImpl::CreateGraphics3D(
176 PP_Instance instance, 176 PP_Instance instance,
177 PP_Resource share_context, 177 PP_Resource share_context,
178 const int32_t* attrib_list) { 178 const int32_t* attrib_list) {
179 return (new Graphics3DResource(instance))->GetReference(); 179 return (new Graphics3DResource(instance))->GetReference();
180 } 180 }
181 181
182 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw( 182 PP_Resource ResourceCreationImpl::CreateGraphics3DRaw(
183 PP_Instance instance, 183 PP_Instance instance,
184 PP_Resource share_context, 184 PP_Resource share_context,
185 const int32_t* attrib_list) { 185 const int32_t* attrib_list,
186 base::SharedMemoryHandle* shared_state) {
186 NOTIMPLEMENTED(); 187 NOTIMPLEMENTED();
187 return 0; 188 return 0;
188 } 189 }
189 190
190 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) { 191 PP_Resource ResourceCreationImpl::CreateHostResolver(PP_Instance instance) {
191 NOTIMPLEMENTED(); 192 NOTIMPLEMENTED();
192 return 0; 193 return 0;
193 } 194 }
194 195
195 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate( 196 PP_Resource ResourceCreationImpl::CreateHostResolverPrivate(
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 PP_Instance instance, 401 PP_Instance instance,
401 PP_Resource context3d_id, 402 PP_Resource context3d_id,
402 PP_VideoDecoder_Profile profile) { 403 PP_VideoDecoder_Profile profile) {
403 NOTIMPLEMENTED(); 404 NOTIMPLEMENTED();
404 return 0; 405 return 0;
405 } 406 }
406 #endif // !defined(OS_NACL) 407 #endif // !defined(OS_NACL)
407 408
408 } // namespace examples 409 } // namespace examples
409 } // namespace mojo 410 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/examples/pepper_container_app/resource_creation_impl.h ('k') | ppapi/proxy/nacl_message_scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698