summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authorzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 22:29:29 +0000
committerzelidrag@chromium.org <zelidrag@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 22:29:29 +0000
commitcc5ff9853cbda52ac6679cce3a4eb7af6d685be1 (patch)
tree4842f218d0da2448aa245e18136c668d8ae8813a /content
parentfb83cf1a4226405d3000f82f334c361ba507b852 (diff)
downloadchromium_src-cc5ff9853cbda52ac6679cce3a4eb7af6d685be1.zip
chromium_src-cc5ff9853cbda52ac6679cce3a4eb7af6d685be1.tar.gz
chromium_src-cc5ff9853cbda52ac6679cce3a4eb7af6d685be1.tar.bz2
Added additional methods for chrome.logPrivate:
chrome.logPrivate.dumpLogs(function(fileEntry) {...}); - dumps all system logs as |fileEntry| (a .tgz file) chrome.logPrivate.startEventRecorder(type, function(){}); chrome.logPrivate.stopEventRecorder(type, function(){}); - start/stop additional log collection for dumps generated with chrome.logPrivate.dumpLogs(). TEST=LogPrivateApiTest.* BUG=385289 Review URL: https://codereview.chromium.org/329853010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285065 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/renderer/media/mock_peer_connection_impl.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/content/renderer/media/mock_peer_connection_impl.cc b/content/renderer/media/mock_peer_connection_impl.cc
index 380670f..13bd548 100644
--- a/content/renderer/media/mock_peer_connection_impl.cc
+++ b/content/renderer/media/mock_peer_connection_impl.cc
@@ -286,12 +286,12 @@ 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);
+ 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.