OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ | 5 #ifndef CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ |
6 #define CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ | 6 #define CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/shared_memory.h" | 9 #include "base/memory/shared_memory.h" |
10 #include "content/public/browser/browser_message_filter.h" | 10 #include "content/public/browser/browser_message_filter.h" |
11 | 11 |
12 namespace net { | 12 namespace net { |
13 class URLRequestContextGetter; | 13 class URLRequestContextGetter; |
14 } // namespace net | 14 } // namespace net |
15 | 15 |
16 class RenderProcessHost; | 16 class RenderProcessHost; |
17 | 17 |
18 // WebRtcLoggingHandlerHost handles operations regarding the WebRTC logging: | 18 // WebRtcLoggingHandlerHost handles operations regarding the WebRTC logging: |
19 // - Opens a shared memory buffer that the handler in the render process | 19 // - Opens a shared memory buffer that the handler in the render process |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 // This is the handle to be passed to the render process. It's stored so that | 53 // This is the handle to be passed to the render process. It's stored so that |
54 // it doesn't have to be passed on when posting messages between threads. | 54 // it doesn't have to be passed on when posting messages between threads. |
55 // It's only accessed on the IO thread. | 55 // It's only accessed on the IO thread. |
56 base::SharedMemoryHandle foreign_memory_handle_; | 56 base::SharedMemoryHandle foreign_memory_handle_; |
57 | 57 |
58 DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost); | 58 DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost); |
59 }; | 59 }; |
60 | 60 |
61 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ | 61 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ |
OLD | NEW |