Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_WEBRTC_LOGGING_HANDLER_HOST_H_ | |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_WEBRTC_LOGGING_HANDLER_HOST_H_ | |
| 7 | |
| 8 #include "base/basictypes.h" | |
| 9 #include "base/shared_memory.h" | |
| 10 #include "content/public/browser/browser_message_filter.h" | |
| 11 | |
| 12 namespace content { | |
| 13 | |
| 14 // TODO(grunell): Write description. | |
| 15 // TODO(grunell): Maybe name it something generic? | |
| 16 class WebRtcLoggingHandlerHost : public BrowserMessageFilter { | |
| 17 public: | |
| 18 WebRtcLoggingHandlerHost(); | |
| 19 | |
| 20 // BrowserMessageFilter implementation. | |
|
tommi (sloooow) - chröme
2013/03/28 11:00:10
make this implementation private (see discussion o
Henrik Grunell
2013/04/02 10:06:40
Done.
| |
| 21 virtual void OnChannelClosing() OVERRIDE; | |
| 22 virtual void OnDestruct() const OVERRIDE; | |
| 23 virtual bool OnMessageReceived(const IPC::Message& message, | |
| 24 bool* message_was_ok) OVERRIDE; | |
| 25 | |
| 26 private: | |
| 27 friend class BrowserThread; | |
| 28 friend class base::DeleteHelper<WebRtcLoggingHandlerHost>; | |
| 29 | |
| 30 virtual ~WebRtcLoggingHandlerHost(); | |
| 31 | |
| 32 void OnOpenLog(); | |
| 33 | |
| 34 base::SharedMemory shared_memory_; | |
| 35 | |
| 36 DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost); | |
| 37 }; | |
| 38 | |
| 39 } // namespace content | |
| 40 | |
| 41 #endif // CONTENT_BROWSER_RENDERER_HOST_WEBRTC_LOGGING_HANDLER_HOST_H_ | |
| OLD | NEW |