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

Side by Side Diff: chrome/browser/media/webrtc_browsertest_perf.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/media/webrtc_browsertest_perf.h" 5 #include "chrome/browser/media/webrtc_browsertest_perf.h"
6 6
7 #include <stddef.h>
8
7 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
8 #include "base/values.h" 10 #include "base/values.h"
9 #include "chrome/test/base/in_process_browser_test.h" 11 #include "chrome/test/base/in_process_browser_test.h"
10 #include "testing/perf/perf_test.h" 12 #include "testing/perf/perf_test.h"
11 13
12 static std::string Statistic(const std::string& statistic, 14 static std::string Statistic(const std::string& statistic,
13 const std::string& bucket) { 15 const std::string& bucket) {
14 // A ssrc stats key will be on the form stats.<bucket>-<key>.values. 16 // A ssrc stats key will be on the form stats.<bucket>-<key>.values.
15 // This will give a json "path" which will dig into the time series for the 17 // This will give a json "path" which will dig into the time series for the
16 // specified statistic. Buckets can be for instance ssrc_1212344, bweforvideo, 18 // specified statistic. Buckets can be for instance ssrc_1212344, bweforvideo,
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 MaybePrintResultsForAudioSend(ssrc, pc_dict, modifier) || 251 MaybePrintResultsForAudioSend(ssrc, pc_dict, modifier) ||
250 MaybePrintResultsForVideoReceive(ssrc, pc_dict, modifier) || 252 MaybePrintResultsForVideoReceive(ssrc, pc_dict, modifier) ||
251 MaybePrintResultsForVideoSend(ssrc, pc_dict, modifier); 253 MaybePrintResultsForVideoSend(ssrc, pc_dict, modifier);
252 ASSERT_TRUE(did_recognize_stream_type) << "Failed to figure out which " 254 ASSERT_TRUE(did_recognize_stream_type) << "Failed to figure out which "
253 "kind of stream SSRC " << ssrc 255 "kind of stream SSRC " << ssrc
254 << " is. "; 256 << " is. ";
255 } 257 }
256 } 258 }
257 259
258 } // namespace test 260 } // namespace test
OLDNEW
« no previous file with comments | « chrome/browser/media/webrtc_browsertest_common.cc ('k') | chrome/browser/media/webrtc_log_uploader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698