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

Issue 1510973007: [Chromecast] Set dummy metrics session ID for browser tests (Closed)

Created:
5 years ago by halliwell
Modified:
4 years, 10 months ago
Reviewers:
gfhuang, mbjorge
CC:
asvitkine+watch_chromium.org, chromium-reviews, gunsch+watch_chromium.org, halliwell+watch_chromium.org, lcwu+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Chromecast] Set dummy metrics session ID for browser tests This reverts https://codereview.chromium.org/1477483003/ which was intended to fix a problem where media playback in browser tests triggers metrics events that DCHECK on invalid session ID. Previous attempt set a dummy session ID, but this could mask bugs if we ever failed to set session ID correctly. Instead, explicitly only set the dummy ID for running browser tests. BUG= Committed: https://crrev.com/7296007481dc9216de5a868451cde453b22cb00b Cr-Commit-Position: refs/heads/master@{#376099}

Patch Set 1 #

Patch Set 2 : add metrics include #

Patch Set 3 : namespace fix #

Total comments: 1

Patch Set 4 : Rebase + use GUID format for dummy session ID #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -1 line) Patch
M chromecast/base/metrics/cast_metrics_helper.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chromecast/base/metrics/cast_metrics_helper.cc View 1 2 3 2 chunks +5 lines, -1 line 0 comments Download
M chromecast/browser/test/chromecast_browser_test.cc View 1 2 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (12 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1510973007/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1510973007/1
5 years ago (2015-12-10 23:13:13 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/91660)
5 years ago (2015-12-10 23:38:10 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1510973007/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1510973007/20001
5 years ago (2015-12-10 23:51:51 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/91703)
5 years ago (2015-12-11 00:36:11 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1510973007/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1510973007/40001
5 years ago (2015-12-11 00:44:49 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-11 01:06:01 UTC) #12
halliwell
Woah just found this in my chromium code review dashboard. 2 months old! PTAL :)
4 years, 10 months ago (2016-02-13 00:29:15 UTC) #15
mbjorge
lgtm
4 years, 10 months ago (2016-02-13 00:30:41 UTC) #16
gfhuang
lgtm, one nit.
4 years, 10 months ago (2016-02-13 00:33:46 UTC) #17
gfhuang
lgtm, 1 nit. https://codereview.chromium.org/1510973007/diff/40001/chromecast/base/metrics/cast_metrics_helper.cc File chromecast/base/metrics/cast_metrics_helper.cc (right): https://codereview.chromium.org/1510973007/diff/40001/chromecast/base/metrics/cast_metrics_helper.cc#newcode231 chromecast/base/metrics/cast_metrics_helper.cc:231: session_id_ = "00000000000000000000000000000000"; use GUID format ...
4 years, 10 months ago (2016-02-13 00:34:02 UTC) #18
halliwell
On 2016/02/13 00:34:02, gfhuang wrote: > lgtm, 1 nit. > > https://codereview.chromium.org/1510973007/diff/40001/chromecast/base/metrics/cast_metrics_helper.cc > File chromecast/base/metrics/cast_metrics_helper.cc ...
4 years, 10 months ago (2016-02-18 04:36:11 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1510973007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1510973007/60001
4 years, 10 months ago (2016-02-18 04:37:07 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 10 months ago (2016-02-18 05:19:17 UTC) #24
commit-bot: I haz the power
4 years, 10 months ago (2016-02-18 05:20:24 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/7296007481dc9216de5a868451cde453b22cb00b
Cr-Commit-Position: refs/heads/master@{#376099}

Powered by Google App Engine
This is Rietveld 408576698