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

Unified Diff: third_party/libjingle/overrides/init_webrtc.cc

Issue 23619017: Add a trace for WebRTC initialization time (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libjingle/overrides/init_webrtc.cc
diff --git a/third_party/libjingle/overrides/init_webrtc.cc b/third_party/libjingle/overrides/init_webrtc.cc
index cc0ad5f26ffb839a1a2f6ec90825a8bc9418e2d5..746f8831cd10fca3713c4caf013c1d4a38678e4e 100644
--- a/third_party/libjingle/overrides/init_webrtc.cc
+++ b/third_party/libjingle/overrides/init_webrtc.cc
@@ -71,6 +71,8 @@ static base::FilePath GetLibPeerConnectionPath() {
}
bool InitializeWebRtcModule() {
+ TRACE_EVENT0("webrtc", "InitializeWebRtcModule");
+
if (g_create_webrtc_media_engine)
return true; // InitializeWebRtcModule has already been called.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698