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

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

Issue 211033006: Move destruction of WebRtcLogUploader to post threads teardown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor fix to unit test + rebase. Created 6 years, 9 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_logging_handler_host.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/media/webrtc_logging_handler_host.cc
diff --git a/chrome/browser/media/webrtc_logging_handler_host.cc b/chrome/browser/media/webrtc_logging_handler_host.cc
index e729588611bcf1d068516f2934b52386cbc5abae..e1919d2670c2bb17bd436916f522fb9ab448de55 100644
--- a/chrome/browser/media/webrtc_logging_handler_host.cc
+++ b/chrome/browser/media/webrtc_logging_handler_host.cc
@@ -294,7 +294,6 @@ void WebRtcLoggingHandlerHost::StartLoggingIfAllowed() {
"simultaneuos logs has been reached.");
return;
}
- system_request_context_ = g_browser_process->system_request_context();
BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, base::Bind(
&WebRtcLoggingHandlerHost::DoStartLogging, this));
}
@@ -439,7 +438,6 @@ void WebRtcLoggingHandlerHost::TriggerUploadLog(
BrowserThread::PostTask(BrowserThread::FILE, FROM_HERE, base::Bind(
&WebRtcLogUploader::LoggingStoppedDoUpload,
base::Unretained(g_browser_process->webrtc_log_uploader()),
- system_request_context_,
Passed(&log_buffer_),
kWebRtcLogSize,
meta_data_,
« no previous file with comments | « chrome/browser/media/webrtc_logging_handler_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698