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

Side by Side Diff: content/browser/renderer_host/webrtc_logging_handler_host.h

Issue 13119009: Adding WebRTC logging filter, handler and handler host. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed render_thread_impl.* and render_process_host_impl.cc changes from this CL. Created 7 years, 8 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 | Annotate | Revision Log
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698