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

Issue 1685103003: Copy challenge*Key methods to enterprise.platformKeys. (Closed)

Created:
4 years, 10 months ago by Darren Krahn
Modified:
4 years, 10 months ago
CC:
asvitkine+watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, dkrahn+watch_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Copy challenge*Key methods to enterprise.platformKeys. Up to this point the challengeMachineKey and challengeUserKey methods were only available through enterprise.platformKeysPrivate because the web APIs required to meaningfully use these methods had not been published (and now have). The methods will remain in enterprise.platformKeysPrivate until all users have been migrated to use enterprise.platformKeys. The implementation is identical and has been abstracted so it can be invoked from either entry point. BUG=chromium:329341 TEST=unit tests extended to test both entry points Committed: https://crrev.com/3f7776ec96bc700afcb61fc2c9e795f3cbe4e227 Cr-Commit-Position: refs/heads/master@{#377845}

Patch Set 1 #

Total comments: 20

Patch Set 2 : Fixed nits; now use ArrayBuffer #

Unified diffs Side-by-side diffs Delta from patch set Stats (+690 lines, -316 lines) Patch
M chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h View 1 7 chunks +53 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc View 1 2 chunks +89 lines, -0 lines 0 comments Download
A + chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api_unittest.cc View 1 12 chunks +191 lines, -163 lines 0 comments Download
M chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h View 1 8 chunks +84 lines, -21 lines 0 comments Download
M chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc View 1 14 chunks +188 lines, -113 lines 0 comments Download
M chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api_unittest.cc View 4 chunks +17 lines, -11 lines 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/enterprise_platform_keys.idl View 1 2 chunks +62 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (5 generated)
Darren Krahn
+rdevlin.cronin - extensions OWNER +emaxx - enterprisePlatformKeys OWNER +mkwst - documentation (https://chrome-apps-doc.appspot.com/_patch/1685103003/extensions/enterprise_platformKeys just gives "Internal ...
4 years, 10 months ago (2016-02-10 19:26:36 UTC) #2
Darren Krahn
On 2016/02/10 19:26:36, Darren Krahn wrote: > +rdevlin.cronin - extensions OWNER > > +emaxx - ...
4 years, 10 months ago (2016-02-17 20:40:25 UTC) #3
Devlin
On 2016/02/17 20:40:25, Darren Krahn wrote: > On 2016/02/10 19:26:36, Darren Krahn wrote: > > ...
4 years, 10 months ago (2016-02-17 20:42:04 UTC) #4
emaxx
I agree with the implementation. I have only one concern regarding the code structuring (please ...
4 years, 10 months ago (2016-02-18 23:35:18 UTC) #5
Darren Krahn
https://chromiumcodereview.appspot.com/1685103003/diff/1/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h File chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h (right): https://chromiumcodereview.appspot.com/1685103003/diff/1/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h#newcode48 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h:48: class EPKPChallengeKeyBase { On 2016/02/18 23:35:18, emaxx wrote: > ...
4 years, 10 months ago (2016-02-19 16:45:23 UTC) #6
emaxx
I've left another comment regarding the type used in the proposed extension API. Devlin, what ...
4 years, 10 months ago (2016-02-19 17:19:11 UTC) #7
emaxx
(the comment was lost in previous reply) https://chromiumcodereview.appspot.com/1685103003/diff/1/chrome/common/extensions/api/enterprise_platform_keys.idl File chrome/common/extensions/api/enterprise_platform_keys.idl (right): https://chromiumcodereview.appspot.com/1685103003/diff/1/chrome/common/extensions/api/enterprise_platform_keys.idl#newcode114 chrome/common/extensions/api/enterprise_platform_keys.idl:114: // encoded ...
4 years, 10 months ago (2016-02-19 17:20:59 UTC) #8
Devlin
lgtm https://chromiumcodereview.appspot.com/1685103003/diff/1/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc File chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc (right): https://chromiumcodereview.appspot.com/1685103003/diff/1/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc#newcode260 chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc:260: &EPKPChallengeMachineKey::Run, base::Unretained(impl_), nit: please comment on why Unretained ...
4 years, 10 months ago (2016-02-19 18:05:02 UTC) #9
Darren Krahn
https://chromiumcodereview.appspot.com/1685103003/diff/1/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc File chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc (right): https://chromiumcodereview.appspot.com/1685103003/diff/1/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc#newcode260 chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc:260: &EPKPChallengeMachineKey::Run, base::Unretained(impl_), On 2016/02/19 18:05:02, Devlin wrote: > nit: ...
4 years, 10 months ago (2016-02-23 23:39:46 UTC) #10
Darren Krahn
+bauerb for prefs +isherman for histograms
4 years, 10 months ago (2016-02-23 23:43:20 UTC) #12
Ilya Sherman
histograms.xml lgtm
4 years, 10 months ago (2016-02-24 01:03:11 UTC) #13
Mike West
LGTM.
4 years, 10 months ago (2016-02-24 08:19:26 UTC) #14
Bernhard Bauer
prefs/ LGTM.
4 years, 10 months ago (2016-02-24 08:44:37 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1685103003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1685103003/20001
4 years, 10 months ago (2016-02-26 06:32:42 UTC) #18
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 10 months ago (2016-02-26 08:13:30 UTC) #19
commit-bot: I haz the power
4 years, 10 months ago (2016-02-26 08:15:23 UTC) #21
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/3f7776ec96bc700afcb61fc2c9e795f3cbe4e227
Cr-Commit-Position: refs/heads/master@{#377845}

Powered by Google App Engine
This is Rietveld 408576698