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

Side by Side Diff: content/browser/renderer_host/media/shared_memory_buffer_tracker.h

Issue 2505143002: [Mojo Video Capture] Separate testing from production code (Closed)
Patch Set: Similarity 25 Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698