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

Side by Side Diff: ppapi/proxy/ppb_audio_proxy.cc

Issue 6079009: Move some misc thread-related stuff from base to base/thread and into the bas... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « net/url_request/url_request_file_job.cc ('k') | ppapi/shared_impl/audio_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "ppapi/proxy/ppb_audio_proxy.h" 5 #include "ppapi/proxy/ppb_audio_proxy.h"
6 6
7 #include "base/simple_thread.h" 7 #include "base/threading/simple_thread.h"
8 #include "ppapi/c/dev/ppb_audio_dev.h" 8 #include "ppapi/c/dev/ppb_audio_dev.h"
9 #include "ppapi/c/dev/ppb_audio_trusted_dev.h" 9 #include "ppapi/c/dev/ppb_audio_trusted_dev.h"
10 #include "ppapi/c/pp_errors.h" 10 #include "ppapi/c/pp_errors.h"
11 #include "ppapi/proxy/interface_id.h" 11 #include "ppapi/proxy/interface_id.h"
12 #include "ppapi/proxy/plugin_dispatcher.h" 12 #include "ppapi/proxy/plugin_dispatcher.h"
13 #include "ppapi/proxy/plugin_resource.h" 13 #include "ppapi/proxy/plugin_resource.h"
14 #include "ppapi/proxy/ppapi_messages.h" 14 #include "ppapi/proxy/ppapi_messages.h"
15 #include "ppapi/shared_impl/audio_impl.h" 15 #include "ppapi/shared_impl/audio_impl.h"
16 16
17 namespace pp { 17 namespace pp {
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 // close the source handle. 278 // close the source handle.
279 if (!shared_memory.GiveToProcess(dispatcher()->remote_process_handle(), 279 if (!shared_memory.GiveToProcess(dispatcher()->remote_process_handle(),
280 foreign_shared_memory_handle)) 280 foreign_shared_memory_handle))
281 return PP_ERROR_FAILED; 281 return PP_ERROR_FAILED;
282 282
283 return PP_OK; 283 return PP_OK;
284 } 284 }
285 285
286 } // namespace proxy 286 } // namespace proxy
287 } // namespace pp 287 } // namespace pp
OLDNEW
« no previous file with comments | « net/url_request/url_request_file_job.cc ('k') | ppapi/shared_impl/audio_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698