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

Side by Side Diff: mojo/services/media/common/cpp/shared_media_buffer_allocator.h

Issue 2097953002: Motown: Rename MediaProducer/Consumer to MediaPacketProducer/Consumer (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fixed #ifndef guards Created 4 years, 5 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 MOJO_SERVICES_MEDIA_COMMON_CPP_MAPPED_SHARED_MEDIA_BUFFER_ALLOCATOR_H_ 5 #ifndef MOJO_SERVICES_MEDIA_COMMON_CPP_SHARED_MEDIA_BUFFER_ALLOCATOR_H_
6 #define MOJO_SERVICES_MEDIA_COMMON_CPP_MAPPED_SHARED_MEDIA_BUFFER_ALLOCATOR_H_ 6 #define MOJO_SERVICES_MEDIA_COMMON_CPP_SHARED_MEDIA_BUFFER_ALLOCATOR_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <mutex> // NOLINT(build/c++11) 9 #include <mutex> // NOLINT(build/c++11)
10 10
11 #include "mojo/services/media/common/cpp/fifo_allocator.h" 11 #include "mojo/services/media/common/cpp/fifo_allocator.h"
12 #include "mojo/services/media/common/cpp/mapped_shared_buffer.h" 12 #include "mojo/services/media/common/cpp/mapped_shared_buffer.h"
13 13
14 namespace mojo { 14 namespace mojo {
15 namespace media { 15 namespace media {
16 16
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 void OnInit() override; 57 void OnInit() override;
58 58
59 private: 59 private:
60 mutable std::mutex lock_; 60 mutable std::mutex lock_;
61 FifoAllocator fifo_allocator_; 61 FifoAllocator fifo_allocator_;
62 }; 62 };
63 63
64 } // namespace media 64 } // namespace media
65 } // namespace mojo 65 } // namespace mojo
66 66
67 #endif // MOJO_SERVICES_MEDIA_COMMON_CPP_MAPPED_SHARED_MEDIA_BUFFER_ALLOCATOR_H _ 67 #endif // MOJO_SERVICES_MEDIA_COMMON_CPP_SHARED_MEDIA_BUFFER_ALLOCATOR_H_
OLDNEW
« no previous file with comments | « mojo/services/media/common/cpp/circular_buffer_media_pipe_adapter.cc ('k') | mojo/services/media/common/cpp/video_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698