| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CONTENT_BROWSER_RENDERER_HOST_MEDIA_SHARED_MEMORY_BUFFER_TRACKER_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_MEDIA_SHARED_MEMORY_BUFFER_TRACKER_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_SHARED_MEMORY_BUFFER_TRACKER_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_MEDIA_SHARED_MEMORY_BUFFER_TRACKER_H_ |
| 7 | 7 |
| 8 #include "media/capture/video/video_capture_buffer_tracker.h" | 8 #include "media/capture/video/video_capture_buffer_tracker.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 mojo::ScopedSharedBufferHandle GetHandleForTransit() override; | 24 mojo::ScopedSharedBufferHandle GetHandleForTransit() override; |
| 25 | 25 |
| 26 private: | 26 private: |
| 27 friend class SharedMemoryBufferHandle; | 27 friend class SharedMemoryBufferHandle; |
| 28 | 28 |
| 29 // The memory created to be shared with renderer processes. | 29 // The memory created to be shared with renderer processes. |
| 30 base::SharedMemory shared_memory_; | 30 base::SharedMemory shared_memory_; |
| 31 size_t mapped_size_; | 31 size_t mapped_size_; |
| 32 }; | 32 }; |
| 33 | 33 |
| 34 |
| 34 } // namespace content | 35 } // namespace content |
| 35 | 36 |
| 36 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_SHARED_MEMORY_BUFFER_TRACKER_H_ | 37 #endif // CONTENT_BROWSER_RENDERER_HOST_MEDIA_SHARED_MEMORY_BUFFER_TRACKER_H_ |
| OLD | NEW |