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

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

Issue 1822333002: Motown: wholesale clang-format (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat Created 4 years, 9 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_MAPPED_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_MAPPED_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
(...skipping 46 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_MAPPED_SHARED_MEDIA_BUFFER_ALLOCATOR_H _
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698