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

Issue 1528403003: Add implementation in metrics.h that uses atomic pointer. (Closed)

Created:
5 years ago by åsapersson
Modified:
4 years, 11 months ago
Reviewers:
pbos-webrtc, mflodman
CC:
webrtc-reviews_webrtc.org, henrika_webrtc, zhengzhonghou_agora.io, tterriberry_mozilla.com, fengyue_agora.io, peah-webrtc, mflodman
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add implementation in metrics.h that uses atomic pointer. Update test implementation (test/histograms.h) to be more similar a real implementation (where histogram get functions return a Histogram pointer). Add check that the name of a histogram does not change. BUG=webrtc:5283 Committed: https://crrev.com/1fe48a5e1dbc752b24b6c63eb2e6abd80c01c1dc Cr-Commit-Position: refs/heads/master@{#11161}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : test logs #

Patch Set 4 : #

Patch Set 5 : rebase #

Patch Set 6 : #

Patch Set 7 : rebase #

Total comments: 8

Patch Set 8 : address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+190 lines, -35 lines) Patch
M webrtc/system_wrappers/include/metrics.h View 1 2 3 4 5 6 7 3 chunks +64 lines, -17 lines 0 comments Download
A webrtc/system_wrappers/source/metrics_unittest.cc View 1 2 3 4 5 6 1 chunk +91 lines, -0 lines 0 comments Download
M webrtc/system_wrappers/system_wrappers_tests.gyp View 1 2 chunks +2 lines, -0 lines 0 comments Download
M webrtc/test/histogram.h View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/test/histogram.cc View 1 2 3 4 5 6 7 5 chunks +32 lines, -17 lines 0 comments Download

Messages

Total messages: 32 (25 generated)
åsapersson
5 years ago (2015-12-21 13:31:16 UTC) #22
pbos-webrtc
lgtm https://codereview.webrtc.org/1528403003/diff/450001/webrtc/system_wrappers/include/metrics.h File webrtc/system_wrappers/include/metrics.h (right): https://codereview.webrtc.org/1528403003/diff/450001/webrtc/system_wrappers/include/metrics.h#newcode126 webrtc/system_wrappers/include/metrics.h:126: // TODO(asapersson): Consider changing string to const char*. ...
5 years ago (2015-12-21 13:44:43 UTC) #23
åsapersson
https://codereview.webrtc.org/1528403003/diff/450001/webrtc/system_wrappers/include/metrics.h File webrtc/system_wrappers/include/metrics.h (right): https://codereview.webrtc.org/1528403003/diff/450001/webrtc/system_wrappers/include/metrics.h#newcode126 webrtc/system_wrappers/include/metrics.h:126: // TODO(asapersson): Consider changing string to const char*. On ...
5 years ago (2015-12-21 16:45:33 UTC) #24
mflodman
LGTM
5 years ago (2015-12-22 09:20:04 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1528403003/470001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1528403003/470001
4 years, 11 months ago (2016-01-07 07:56:52 UTC) #28
commit-bot: I haz the power
Committed patchset #8 (id:470001)
4 years, 11 months ago (2016-01-07 09:02:46 UTC) #30
commit-bot: I haz the power
4 years, 11 months ago (2016-01-07 09:02:59 UTC) #32
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/1fe48a5e1dbc752b24b6c63eb2e6abd80c01c1dc
Cr-Commit-Position: refs/heads/master@{#11161}

Powered by Google App Engine
This is Rietveld 408576698