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

Unified Diff: content/renderer/media/mock_peer_connection_impl.cc

Issue 329853010: Additional methods for chrome.logPrivate API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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: content/renderer/media/mock_peer_connection_impl.cc
diff --git a/content/renderer/media/mock_peer_connection_impl.cc b/content/renderer/media/mock_peer_connection_impl.cc
index 380670f9db304ac19b60689d1da0a5c850fb9b53..007791893a6d2008a5f784876e5d22822312f02a 100644
--- a/content/renderer/media/mock_peer_connection_impl.cc
+++ b/content/renderer/media/mock_peer_connection_impl.cc
@@ -274,11 +274,13 @@ bool MockPeerConnectionImpl::GetStats(
report.id = "1234";
report.type = "ssrc";
report.timestamp = 42;
+/*
webrtc::StatsReport::Value value = {
webrtc::StatsReport::kStatsValueNameFingerprint,
"trackvalue"
};
report.values.push_back(value);
+*/
// If selector is given, we pass back one report.
// If selector is not given, we pass back two.
if (!track) {
@@ -286,12 +288,14 @@ bool MockPeerConnectionImpl::GetStats(
report2.id = "nontrack";
report2.type = "generic";
report2.timestamp = 44;
+/*
report2.values.push_back(value);
webrtc::StatsReport::Value value2 = {
webrtc::StatsReport::kStatsValueNameFingerprintAlgorithm,
"somevalue"
};
report2.values.push_back(value2);
+*/
}
// Note that the callback is synchronous, not asynchronous; it will
// happen before the request call completes.

Powered by Google App Engine
This is Rietveld 408576698