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

Side by Side Diff: webrtc/system_wrappers/source/metrics_default.cc

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 1 // Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 // 2 //
3 // Use of this source code is governed by a BSD-style license 3 // Use of this source code is governed by a BSD-style license
4 // that can be found in the LICENSE file in the root of the source 4 // that can be found in the LICENSE file in the root of the source
5 // tree. An additional intellectual property rights grant can be found 5 // tree. An additional intellectual property rights grant can be found
6 // in the file PATENTS. All contributing project authors may 6 // in the file PATENTS. All contributing project authors may
7 // be found in the AUTHORS file in the root of the source tree. 7 // be found in the AUTHORS file in the root of the source tree.
8 // 8 //
9 9
10 #include "webrtc/system_wrappers/include/metrics_default.h" 10 #include "webrtc/system_wrappers/include/metrics_default.h"
11 11
12 #include <algorithm> 12 #include <algorithm>
13 13
14 #include "webrtc/base/criticalsection.h" 14 #include "webrtc/rtc_base/criticalsection.h"
15 #include "webrtc/base/thread_annotations.h" 15 #include "webrtc/rtc_base/thread_annotations.h"
16 #include "webrtc/system_wrappers/include/metrics.h" 16 #include "webrtc/system_wrappers/include/metrics.h"
17 17
18 // Default implementation of histogram methods for WebRTC clients that do not 18 // Default implementation of histogram methods for WebRTC clients that do not
19 // want to provide their own implementation. 19 // want to provide their own implementation.
20 20
21 namespace webrtc { 21 namespace webrtc {
22 namespace metrics { 22 namespace metrics {
23 class Histogram; 23 class Histogram;
24 24
25 namespace { 25 namespace {
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 return map ? map->NumSamples(name) : 0; 298 return map ? map->NumSamples(name) : 0;
299 } 299 }
300 300
301 int MinSample(const std::string& name) { 301 int MinSample(const std::string& name) {
302 RtcHistogramMap* map = GetMap(); 302 RtcHistogramMap* map = GetMap();
303 return map ? map->MinSample(name) : -1; 303 return map ? map->MinSample(name) : -1;
304 } 304 }
305 305
306 } // namespace metrics 306 } // namespace metrics
307 } // namespace webrtc 307 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/system_wrappers/source/logcat_trace_context.cc ('k') | webrtc/system_wrappers/source/rtp_to_ntp_estimator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698