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

Side by Side Diff: chrome/browser/media/webrtc_logging_handler_host.h

Issue 148183002: Corrections of some WebRTC logging comments. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 10 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
« no previous file with comments | « no previous file | content/browser/renderer_host/media/media_stream_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/memory/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"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 friend class base::DeleteHelper<WebRtcLoggingHandlerHost>; 96 friend class base::DeleteHelper<WebRtcLoggingHandlerHost>;
97 97
98 virtual ~WebRtcLoggingHandlerHost(); 98 virtual ~WebRtcLoggingHandlerHost();
99 99
100 // BrowserMessageFilter implementation. 100 // BrowserMessageFilter implementation.
101 virtual void OnChannelClosing() OVERRIDE; 101 virtual void OnChannelClosing() OVERRIDE;
102 virtual void OnDestruct() const OVERRIDE; 102 virtual void OnDestruct() const OVERRIDE;
103 virtual bool OnMessageReceived(const IPC::Message& message, 103 virtual bool OnMessageReceived(const IPC::Message& message,
104 bool* message_was_ok) OVERRIDE; 104 bool* message_was_ok) OVERRIDE;
105 105
106 // Handles log message requests from both renderer process. 106 // Handles log message requests from renderer process.
107 void OnAddLogMessage(const std::string& message); 107 void OnAddLogMessage(const std::string& message);
108 void OnLoggingStoppedInRenderer(); 108 void OnLoggingStoppedInRenderer();
109 109
110 // Handles log message requests from browser process. 110 // Handles log message requests from browser process.
111 void AddLogMessageFromBrowser(const std::string& message); 111 void AddLogMessageFromBrowser(const std::string& message);
112 112
113 void StartLoggingIfAllowed(); 113 void StartLoggingIfAllowed();
114 void DoStartLogging(); 114 void DoStartLogging();
115 void LogMachineInfoOnFileThread(); 115 void LogMachineInfoOnFileThread();
116 void LogMachineInfoOnIOThread(const net::NetworkInterfaceList& network_list); 116 void LogMachineInfoOnIOThread(const net::NetworkInterfaceList& network_list);
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 154
155 // This is the handle to be passed to the render process. It's stored so that 155 // This is the handle to be passed to the render process. It's stored so that
156 // it doesn't have to be passed on when posting messages between threads. 156 // it doesn't have to be passed on when posting messages between threads.
157 // It's only accessed on the IO thread. 157 // It's only accessed on the IO thread.
158 base::SharedMemoryHandle foreign_memory_handle_; 158 base::SharedMemoryHandle foreign_memory_handle_;
159 159
160 DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost); 160 DISALLOW_COPY_AND_ASSIGN(WebRtcLoggingHandlerHost);
161 }; 161 };
162 162
163 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_ 163 #endif // CHROME_BROWSER_MEDIA_WEBRTC_LOGGING_HANDLER_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/media/media_stream_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698