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

Issue 26592004: Switch CDM.h to use uint32_t for size types per style guide. (Closed)

Created:
7 years, 2 months ago by DaleCurtis
Modified:
7 years, 2 months ago
Reviewers:
xhwang, ddorwin
CC:
chromium-reviews, feature-media-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/cdm.git@master
Visibility:
Public.

Description

Switch CDM.h to use uint32_t for size types per style guide. Style guide now clearly says to use unsigned types for sizes and counts: http://dev.chromium.org/developers/coding-style#TOC-Types Since CDM.h communicates over PPAPI, we use a fixed uint32_t instead of size_t. BUG=none TEST=compiles R=ddorwin@chromium.org, xhwang@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230180

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -45 lines) Patch
M content_decryption_module.h View 1 17 chunks +45 lines, -45 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
DaleCurtis
Not sure we can change all these after all, but here's what a clean world ...
7 years, 2 months ago (2013-10-08 23:05:06 UTC) #1
DaleCurtis
Also, here's what CdmWrapper would look like: https://codereview.chromium.org/26592003/
7 years, 2 months ago (2013-10-08 23:05:30 UTC) #2
ddorwin
LG. Will wait to see what issues we might encounter.
7 years, 2 months ago (2013-10-08 23:53:10 UTC) #3
DaleCurtis
It seems to work just fine with an older WV CDM, a little hard to ...
7 years, 2 months ago (2013-10-10 21:22:43 UTC) #4
ddorwin
LGTM, but let's wait until the tests are passing again before landing this.
7 years, 2 months ago (2013-10-11 18:57:33 UTC) #5
DaleCurtis
xhwang: You want to weigh in here?
7 years, 2 months ago (2013-10-21 22:31:51 UTC) #6
xhwang
lgtm % nits https://codereview.chromium.org/26592004/diff/1/content_decryption_module.h File content_decryption_module.h (right): https://codereview.chromium.org/26592004/diff/1/content_decryption_module.h#newcode177 content_decryption_module.h:177: int32_t samples_per_second; hmm, are these also ...
7 years, 2 months ago (2013-10-21 23:30:10 UTC) #7
DaleCurtis
https://codereview.chromium.org/26592004/diff/1/content_decryption_module.h File content_decryption_module.h (right): https://codereview.chromium.org/26592004/diff/1/content_decryption_module.h#newcode177 content_decryption_module.h:177: int32_t samples_per_second; On 2013/10/21 23:30:11, xhwang wrote: > hmm, ...
7 years, 2 months ago (2013-10-21 23:40:55 UTC) #8
xhwang
https://codereview.chromium.org/26592004/diff/1/content_decryption_module.h File content_decryption_module.h (right): https://codereview.chromium.org/26592004/diff/1/content_decryption_module.h#newcode177 content_decryption_module.h:177: int32_t samples_per_second; On 2013/10/21 23:40:55, DaleCurtis wrote: > On ...
7 years, 2 months ago (2013-10-21 23:51:11 UTC) #9
DaleCurtis
7 years, 2 months ago (2013-10-22 19:35:08 UTC) #10
Message was sent while issue was closed.
Committed patchset #2 manually as r230180 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698