Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[media] Replace instances of int64_t with base::Time #2236

Merged
merged 9 commits into from
Jan 24, 2024

Conversation

osagie98
Copy link
Contributor

b/319904866

Changes cval stats test to call GetValueAsString(), as the previous
GetValueAsPrettyString() added unnecessary formatting to base::TimeDelta
values.
Also fixes log bug in FormatSupportQueryMetrics from the previous
commit.
Changes the TimeDeltas to instantiated from microseconds rather than
milliseconds.
Copy link
Contributor

@sideb0ard sideb0ard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty straightforward.
Assuming all tests pass, LGTM

Copy link

codecov bot commented Jan 23, 2024

Codecov Report

Attention: 17 lines in your changes are missing coverage. Please review.

Comparison is base (7153cc9) 58.53% compared to head (2fdb747) 58.53%.
Report is 32 commits behind head on main.

Files Patch % Lines
cobalt/media/media_module.cc 0.00% 4 Missing ⚠️
...alt/media/progressive/demuxer_extension_wrapper.cc 0.00% 4 Missing ⚠️
cobalt/media/progressive/progressive_demuxer.cc 0.00% 4 Missing ⚠️
starboard/elf_loader/program_table.cc 83.33% 3 Missing ⚠️
starboard/shared/modular/posix_mmap_wrappers.cc 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2236      +/-   ##
==========================================
- Coverage   58.53%   58.53%   -0.01%     
==========================================
  Files        1908     1904       -4     
  Lines       94585    94522      -63     
==========================================
- Hits        55369    55329      -40     
+ Misses      39216    39193      -23     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@osagie98 osagie98 merged commit 29389bb into youtube:main Jan 24, 2024
332 of 334 checks passed
@osagie98 osagie98 deleted the use-base-time branch January 24, 2024 01:58
@osagie98 osagie98 added the cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch label Jan 24, 2024
cobalt-github-releaser-bot pushed a commit that referenced this pull request Jan 24, 2024
@osagie98 osagie98 removed the cp-24.lts.1+ Cherry Pick to the 24.lts.1+ branch label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants