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

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: convert webrtc_log_uploader as well 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
Index: chrome/browser/media/webrtc_logging_handler_host.h
===================================================================
--- chrome/browser/media/webrtc_logging_handler_host.h (revision 273292)
+++ chrome/browser/media/webrtc_logging_handler_host.h (working copy)
@@ -11,13 +11,8 @@
#include "content/public/browser/browser_message_filter.h"
#include "net/base/net_util.h"
-namespace net {
-class URLRequestContextGetter;
-} // namespace net
-
class PartialCircularBuffer;
class Profile;
-class RenderProcessHost;
typedef std::map<std::string, std::string> MetaDataMap;
@@ -128,8 +123,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_|.
@@ -149,7 +145,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

Powered by Google App Engine
This is Rietveld 408576698