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

Issue 15738013: Initial implementation of music manager private API. (Closed)

Created:
7 years, 7 months ago by rpaquay
Modified:
7 years, 6 months ago
CC:
chromium-reviews, Aaron Boodman, chromium-apps-reviews_chromium.org
Base URL:
https://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Initial implementation of music manager private API. MacOS and Linux are currently not supported. This will come in a later CL. BUG=242540 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=202929

Patch Set 1 : Code cleanup. #

Patch Set 2 : Fix unit test. #

Total comments: 18

Patch Set 3 : Code review feedback. #

Total comments: 4

Patch Set 4 : Code review feedback. #

Patch Set 5 : Code review feedback. #

Patch Set 6 : Rebasing. #

Patch Set 7 : Fix test. #

Patch Set 8 : Rebasing. #

Patch Set 9 : Unify with Pepper implementation. #

Total comments: 11

Patch Set 10 : Code review feedback. #

Patch Set 11 : Complete API unification. #

Patch Set 12 : Revert unification with Pepper device id implementation. #

Patch Set 13 : Rebasing. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -2 lines) Patch
A chrome/browser/extensions/api/music_manager_private/device_id.h View 1 2 3 4 11 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/music_manager_private/device_id.cc View 11 1 chunk +72 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/music_manager_private/music_manager_private_api.h View 1 2 3 4 9 10 11 1 chunk +32 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc View 1 2 3 4 9 10 11 1 chunk +47 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/music_manager_private/music_manager_private_browsertest.cc View 1 2 1 chunk +21 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 11 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/api/music_manager_private.idl View 1 2 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/music_manager_private/device_id_value_returned/chrometest.js View 1 chunk +22 lines, -0 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/music_manager_private/device_id_value_returned/index.html View 1 chunk +2 lines, -3 lines 0 comments Download
A + chrome/test/data/extensions/platform_apps/music_manager_private/device_id_value_returned/main.js View 0 chunks +-1 lines, --1 lines 0 comments Download
A chrome/test/data/extensions/platform_apps/music_manager_private/device_id_value_returned/manifest.json View 1 2 3 4 5 6 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (0 generated)
rpaquay
Reviewers, This is the initial implementation of the music manager private API (see referenced BUG). ...
7 years, 7 months ago (2013-05-22 18:21:13 UTC) #1
Matt Perry
Has this gone through API review? http://dev.chromium.org/developers/design-documents/extensions/proposed-changes/apis-under-development
7 years, 7 months ago (2013-05-22 21:08:31 UTC) #2
Matt Perry
https://codereview.chromium.org/15738013/diff/4001/chrome/common/extensions/api/music_manager_private.idl File chrome/common/extensions/api/music_manager_private.idl (right): https://codereview.chromium.org/15738013/diff/4001/chrome/common/extensions/api/music_manager_private.idl#newcode5 chrome/common/extensions/api/music_manager_private.idl:5: namespace musicManagerPrivate { put [nodoc] before namespace, and it'll ...
7 years, 7 months ago (2013-05-22 21:18:02 UTC) #3
Matt Perry
https://codereview.chromium.org/15738013/diff/4001/chrome/browser/extensions/api/music_manager_private/device_id.h File chrome/browser/extensions/api/music_manager_private/device_id.h (right): https://codereview.chromium.org/15738013/diff/4001/chrome/browser/extensions/api/music_manager_private/device_id.h#newcode8 chrome/browser/extensions/api/music_manager_private/device_id.h:8: #include "string" <string> https://codereview.chromium.org/15738013/diff/4001/chrome/browser/extensions/api/music_manager_private/device_id.h#newcode12 chrome/browser/extensions/api/music_manager_private/device_id.h:12: std::string GetDeviceID(const std::string& salt); ...
7 years, 7 months ago (2013-05-22 22:19:11 UTC) #4
rpaquay
Address Matt's code review feedback. https://codereview.chromium.org/15738013/diff/4001/chrome/browser/extensions/api/music_manager_private/device_id.h File chrome/browser/extensions/api/music_manager_private/device_id.h (right): https://codereview.chromium.org/15738013/diff/4001/chrome/browser/extensions/api/music_manager_private/device_id.h#newcode8 chrome/browser/extensions/api/music_manager_private/device_id.h:8: #include "string" On 2013/05/22 ...
7 years, 7 months ago (2013-05-22 23:55:50 UTC) #5
Matt Perry
https://codereview.chromium.org/15738013/diff/4001/chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc File chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc (right): https://codereview.chromium.org/15738013/diff/4001/chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc#newcode31 chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc:31: void MusicManagerPrivateGetDeviceIdFunction::ComputeOnIOThread() { On 2013/05/22 23:55:50, rpaquay wrote: > ...
7 years, 7 months ago (2013-05-23 00:01:15 UTC) #6
battre
lgtm https://codereview.chromium.org/15738013/diff/16001/chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc File chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc (right): https://codereview.chromium.org/15738013/diff/16001/chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc#newcode13 chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc:13: nit: remove newline? https://codereview.chromium.org/15738013/diff/16001/chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc#newcode21 chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc:21: MusicManagerPrivateGetDeviceIdFunction() { nit: ...
7 years, 7 months ago (2013-05-23 09:44:16 UTC) #7
raymes
Does this tie into any of the existing privacy prefs for the device ID? prefs::kEnableDRM ...
7 years, 7 months ago (2013-05-23 16:37:22 UTC) #8
rpaquay
On 2013/05/23 16:37:22, raymes wrote: > Does this tie into any of the existing privacy ...
7 years, 7 months ago (2013-05-23 17:00:26 UTC) #9
raymes1
Ok thanks! Also, out of curiosity, has there been discussion with chrome-privacy about this? I ...
7 years, 7 months ago (2013-05-23 17:13:02 UTC) #10
rpaquay
https://codereview.chromium.org/15738013/diff/16001/chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc File chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc (right): https://codereview.chromium.org/15738013/diff/16001/chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc#newcode13 chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc:13: On 2013/05/23 09:44:16, battre wrote: > nit: remove newline? ...
7 years, 7 months ago (2013-05-23 17:40:38 UTC) #11
rpaquay
As of Patch Set #5, all comments so far have been addressed. https://codereview.chromium.org/15738013/diff/4001/chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc File chrome/browser/extensions/api/music_manager_private/music_manager_private_api.cc ...
7 years, 7 months ago (2013-05-23 19:39:46 UTC) #12
Matt Perry
lgtm
7 years, 7 months ago (2013-05-23 19:42:26 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/15738013/31001
7 years, 7 months ago (2013-05-23 19:50:54 UTC) #14
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-23 19:51:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/15738013/39001
7 years, 7 months ago (2013-05-23 20:36:47 UTC) #16
raymes1
I'm curious: in what way here are the requirements different from the Flash device ID? ...
7 years, 7 months ago (2013-05-23 21:17:21 UTC) #17
rpaquay
On 2013/05/23 21:17:21, raymes1 wrote: > I'm curious: in what way here are the requirements ...
7 years, 7 months ago (2013-05-23 21:41:09 UTC) #18
raymes1
You should be able to implement other platforms in the existing code as well. Currently ...
7 years, 7 months ago (2013-05-23 21:48:47 UTC) #19
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=117838
7 years, 7 months ago (2013-05-23 23:35:54 UTC) #20
battre
On 2013/05/23 17:00:26, rpaquay wrote: > On 2013/05/23 16:37:22, raymes wrote: > > Does this ...
7 years, 7 months ago (2013-05-24 07:22:38 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/15738013/57001
7 years, 7 months ago (2013-05-24 17:29:17 UTC) #22
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-24 17:29:24 UTC) #23
rpaquay
Path Set #9: Unification with Pepper device ID implementation. raymes@: * What do you think ...
7 years, 7 months ago (2013-05-25 00:06:22 UTC) #24
raymes1
https://codereview.chromium.org/15738013/diff/65001/chrome/browser/renderer_host/pepper/device_id_fetcher.cc File chrome/browser/renderer_host/pepper/device_id_fetcher.cc (right): https://codereview.chromium.org/15738013/diff/65001/chrome/browser/renderer_host/pepper/device_id_fetcher.cc#newcode35 chrome/browser/renderer_host/pepper/device_id_fetcher.cc:35: const char kDRMIdentifierFile[] = "Pepper DRM ID.0"; Can you ...
7 years, 7 months ago (2013-05-25 00:44:39 UTC) #25
rpaquay
Addressing raymes@ code review feedback. There are 2 additional changes needed after this (assuming we ...
7 years, 6 months ago (2013-05-28 17:56:01 UTC) #26
rpaquay
Finish unification work 1) move device_id_fetcher to its own directory 2) music manager private API ...
7 years, 6 months ago (2013-05-28 20:42:22 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/15738013/85001
7 years, 6 months ago (2013-05-28 21:12:39 UTC) #28
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=154854
7 years, 6 months ago (2013-05-29 02:40:21 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/15738013/85001
7 years, 6 months ago (2013-05-29 15:42:41 UTC) #30
commit-bot: I haz the power
Failed to apply patch for chrome/browser/extensions/extension_function_histogram_value.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 6 months ago (2013-05-29 15:42:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rpaquay@chromium.org/15738013/101001
7 years, 6 months ago (2013-05-29 16:05:45 UTC) #32
commit-bot: I haz the power
7 years, 6 months ago (2013-05-29 19:11:03 UTC) #33
Message was sent while issue was closed.
Change committed as 202929

Powered by Google App Engine
This is Rietveld 408576698