summaryrefslogtreecommitdiffstats
path: root/chrome/browser/media/webrtc_logging_handler_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/media/webrtc_logging_handler_host.h')
-rw-r--r--chrome/browser/media/webrtc_logging_handler_host.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/chrome/browser/media/webrtc_logging_handler_host.h b/chrome/browser/media/webrtc_logging_handler_host.h
index dfff8c3..5fa767d 100644
--- a/chrome/browser/media/webrtc_logging_handler_host.h
+++ b/chrome/browser/media/webrtc_logging_handler_host.h
@@ -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,15 +132,16 @@ class WebRtcLoggingHandlerHost : public content::BrowserMessageFilter {
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_|.
void LogToCircularBuffer(const std::string& message);
// Gets the log directory path for |profile_| and ensure it exists. Must be
- // called on the FILE thread.
+ // called on the blocking thread pool.
base::FilePath GetLogDirectoryAndEnsureExists();
void TriggerUpload(const base::FilePath& log_directory);
@@ -176,7 +173,7 @@ class WebRtcLoggingHandlerHost : public content::BrowserMessageFilter {
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