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

Unified Diff: chrome/browser/media/webrtc_logging_handler_host.h

Issue 299903002: Convert WebRtcLoggingHandlerHost to use the blocking thread pool. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix after r273980 Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/media/webrtc_log_util.cc ('k') | chrome/browser/media/webrtc_logging_handler_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc_logging_handler_host.h
===================================================================
--- chrome/browser/media/webrtc_logging_handler_host.h (revision 274367)
+++ chrome/browser/media/webrtc_logging_handler_host.h (working copy)
@@ -14,10 +14,6 @@
#include "content/public/browser/render_process_host.h"
#include "net/base/net_util.h"
-namespace net {
-class URLRequestContextGetter;
-} // namespace net
-
class PartialCircularBuffer;
class Profile;
@@ -136,8 +132,9 @@
void StartLoggingIfAllowed();
void DoStartLogging();
- void LogInitialInfoOnFileThread();
- void LogInitialInfoOnIOThread(const net::NetworkInterfaceList& network_list);
+ void LogInitialInfoOnBlockingPool();
+ void LogInitialInfoOnIOThread(const net::NetworkInterfaceList& network_list,
+ const std::string& linux_distro);
void NotifyLoggingStarted();
// Writes a formatted log |message| to the |circular_buffer_|.
@@ -176,7 +173,7 @@
scoped_ptr<PartialCircularBuffer> circular_buffer_;
// The profile associated with our renderer process.
- Profile* profile_;
+ const Profile* const profile_;
// These are only accessed on the IO thread, except when in STARTING state. In
// this state we are protected since entering any function that alters the
« no previous file with comments | « chrome/browser/media/webrtc_log_util.cc ('k') | chrome/browser/media/webrtc_logging_handler_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698