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

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

Issue 1548813002: Switch to standard integer types in ppapi/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years 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 "ppapi/shared_impl/media_stream_buffer_manager.h" 5 #include "ppapi/shared_impl/media_stream_buffer_manager.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "ppapi/c/pp_errors.h" 12 #include "ppapi/c/pp_errors.h"
11 #include "ppapi/shared_impl/media_stream_buffer.h" 13 #include "ppapi/shared_impl/media_stream_buffer.h"
12 14
13 namespace ppapi { 15 namespace ppapi {
14 16
15 MediaStreamBufferManager::Delegate::~Delegate() {} 17 MediaStreamBufferManager::Delegate::~Delegate() {}
16 18
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 return !buffer_queue_.empty(); 80 return !buffer_queue_.empty();
79 } 81 }
80 82
81 MediaStreamBuffer* MediaStreamBufferManager::GetBufferPointer(int32_t index) { 83 MediaStreamBuffer* MediaStreamBufferManager::GetBufferPointer(int32_t index) {
82 if (index < 0 || index >= number_of_buffers_) 84 if (index < 0 || index >= number_of_buffers_)
83 return NULL; 85 return NULL;
84 return buffers_[index]; 86 return buffers_[index];
85 } 87 }
86 88
87 } // namespace ppapi 89 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/media_stream_buffer_manager.h ('k') | ppapi/shared_impl/media_stream_buffer_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698