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

Side by Side Diff: ppapi/proxy/audio_encoder_resource.h

Issue 1864293002: Convert //ppapi to use std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ 5 #ifndef PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_
6 #define PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ 6 #define PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory>
bbudge 2016/04/06 21:01:20 Move to .cc file?
dcheng 2016/04/06 21:18:33 Deleted since it's not used. Note that at the end
11
10 #include "base/macros.h" 12 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/scoped_vector.h" 14 #include "base/memory/scoped_vector.h"
14 #include "ppapi/proxy/connection.h" 15 #include "ppapi/proxy/connection.h"
15 #include "ppapi/proxy/plugin_resource.h" 16 #include "ppapi/proxy/plugin_resource.h"
16 #include "ppapi/shared_impl/media_stream_buffer_manager.h" 17 #include "ppapi/shared_impl/media_stream_buffer_manager.h"
17 #include "ppapi/shared_impl/resource.h" 18 #include "ppapi/shared_impl/resource.h"
18 #include "ppapi/thunk/ppb_audio_encoder_api.h" 19 #include "ppapi/thunk/ppb_audio_encoder_api.h"
19 20
20 namespace ppapi { 21 namespace ppapi {
21 22
22 class TrackedCallback; 23 class TrackedCallback;
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 using BufferMap = std::map<void*, int32_t>; 120 using BufferMap = std::map<void*, int32_t>;
120 BufferMap bitstream_buffer_map_; 121 BufferMap bitstream_buffer_map_;
121 122
122 DISALLOW_COPY_AND_ASSIGN(AudioEncoderResource); 123 DISALLOW_COPY_AND_ASSIGN(AudioEncoderResource);
123 }; 124 };
124 125
125 } // namespace proxy 126 } // namespace proxy
126 } // namespace ppapi 127 } // namespace ppapi
127 128
128 #endif // PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_ 129 #endif // PPAPI_PROXY_AUDIO_ENCODER_RESOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698