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

Side by Side Diff: ppapi/shared_impl/ppb_audio_shared.cc

Issue 885283004: Mechanical rename of tracing includes for /ppapi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@trace_net
Patch Set: Created 5 years, 10 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
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | ppapi/shared_impl/ppb_instance_shared.cc » ('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) 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 "ppapi/shared_impl/ppb_audio_shared.h" 5 #include "ppapi/shared_impl/ppb_audio_shared.h"
6 6
7 #include "base/debug/trace_event.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/trace_event/trace_event.h"
9 #include "ppapi/nacl_irt/public/irt_ppapi.h" 9 #include "ppapi/nacl_irt/public/irt_ppapi.h"
10 #include "ppapi/shared_impl/ppapi_globals.h" 10 #include "ppapi/shared_impl/ppapi_globals.h"
11 #include "ppapi/shared_impl/ppb_audio_config_shared.h" 11 #include "ppapi/shared_impl/ppb_audio_config_shared.h"
12 #include "ppapi/shared_impl/proxy_lock.h" 12 #include "ppapi/shared_impl/proxy_lock.h"
13 13
14 namespace ppapi { 14 namespace ppapi {
15 15
16 namespace { 16 namespace {
17 bool g_nacl_mode = false; 17 bool g_nacl_mode = false;
18 // Because this is static, the function pointers will be NULL initially. 18 // Because this is static, the function pointers will be NULL initially.
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
229 // Let the other end know which buffer we just filled. The buffer index is 229 // Let the other end know which buffer we just filled. The buffer index is
230 // used to ensure the other end is getting the buffer it expects. For more 230 // used to ensure the other end is getting the buffer it expects. For more
231 // details on how this works see AudioSyncReader::WaitUntilDataIsReady(). 231 // details on how this works see AudioSyncReader::WaitUntilDataIsReady().
232 size_t bytes_sent = socket_->Send(&buffer_index_, sizeof(buffer_index_)); 232 size_t bytes_sent = socket_->Send(&buffer_index_, sizeof(buffer_index_));
233 if (bytes_sent != sizeof(buffer_index_)) 233 if (bytes_sent != sizeof(buffer_index_))
234 break; 234 break;
235 } 235 }
236 } 236 }
237 237
238 } // namespace ppapi 238 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/proxy/ppb_core_proxy.cc ('k') | ppapi/shared_impl/ppb_instance_shared.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698