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

Issue 1477483003: [Chromecast] Allow media metrics events with no app running (Closed)

Created:
5 years ago by halliwell
Modified:
5 years ago
Reviewers:
slan, 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] Allow media metrics events with no session ID set If a session ID is not set, we hit an assert sometimes in browser tests: FATAL:hash_util.cc(78)] Check failed: hex.size() == 32u (0vs. 32) #2 0x00000450354e cast::HashGUID64() #3 0x000004503895 cast::HashSessionId64() #4 0x0000044960d1 chromecast::CastEventBuilderImpl::SetSessionId() #5 0x000004496530 chromecast::MetricsRecorderImpl::RecordSimpleAction() Set a default session ID to prevent this from being reached. BUG= Committed: https://crrev.com/ba0fc7ff60bec8b1461c997dcb206f5c6c3249ce Cr-Commit-Position: refs/heads/master@{#362421}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Default session ID #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -0 lines) Patch
M chromecast/base/metrics/cast_metrics_helper.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 20 (8 generated)
halliwell
5 years ago (2015-11-25 01:14:24 UTC) #3
slan
https://codereview.chromium.org/1477483003/diff/1/chromecast/base/metrics/cast_metrics_helper.cc File chromecast/base/metrics/cast_metrics_helper.cc (right): https://codereview.chromium.org/1477483003/diff/1/chromecast/base/metrics/cast_metrics_helper.cc#newcode131 chromecast/base/metrics/cast_metrics_helper.cc:131: if (app_id_.empty()) Did you consider setting a testing value ...
5 years ago (2015-11-25 01:22:25 UTC) #4
halliwell
On 2015/11/25 01:22:25, slan wrote: > https://codereview.chromium.org/1477483003/diff/1/chromecast/base/metrics/cast_metrics_helper.cc > File chromecast/base/metrics/cast_metrics_helper.cc (right): > > https://codereview.chromium.org/1477483003/diff/1/chromecast/base/metrics/cast_metrics_helper.cc#newcode131 > ...
5 years ago (2015-11-25 02:57:10 UTC) #5
mbjorge
Alternative option, could we give session_id_ a default value upon construction? e.g. '0x0000-0000-0000-0000-0000-0000-0000-00'?
5 years ago (2015-11-25 21:42:41 UTC) #6
halliwell
On 2015/11/25 21:42:41, mbjorge wrote: > Alternative option, could we give session_id_ a default value ...
5 years ago (2015-11-25 23:58:53 UTC) #7
mbjorge
lgtm
5 years ago (2015-11-26 00:04:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477483003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477483003/20001
5 years ago (2015-11-26 00:09:27 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_TIMED_OUT, no build URL) ios_rel_device_ninja on ...
5 years ago (2015-11-26 02:13:53 UTC) #13
slan
lgtm
5 years ago (2015-11-30 18:51:44 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1477483003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1477483003/20001
5 years ago (2015-12-01 15:33:21 UTC) #16
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-01 16:26:41 UTC) #18
commit-bot: I haz the power
5 years ago (2015-12-01 16:28:19 UTC) #20
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/ba0fc7ff60bec8b1461c997dcb206f5c6c3249ce
Cr-Commit-Position: refs/heads/master@{#362421}

Powered by Google App Engine
This is Rietveld 408576698