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

Issue 13132004: Implement Enterprise Key API. (Closed)

Created:
7 years, 9 months ago by davidyu
Modified:
7 years, 8 months ago
CC:
chromium-reviews, nkostylev+watc_chromium.org, Aaron Boodman, oshima+watch_chromium.org, chromium-apps-reviews_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, dkrahn
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Implement Enterprise Key API. Proposal: https://docs.google.com/a/google.com/document/d/1KxtQCk4SJdAZId8WxtnCxR3kS2KvhFDsU0SdAeP18Xc/edit The logic of the API is implemented. Add prefernces and policies are added. The underlying cryptohome_client will be implemented in another CL. BUG=chromium:219963 TEST=unit_tests Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195043

Patch Set 1 : #

Total comments: 44

Patch Set 2 : Addressing reviewer comments. #

Total comments: 27

Patch Set 3 : #

Total comments: 4

Patch Set 4 : Rename to chrome.enterprise.platformKeysPrivate.* #

Total comments: 8

Patch Set 5 : #

Total comments: 12

Patch Set 6 : #

Total comments: 11

Patch Set 7 : Use the correct key names, and remove the public key in ChallengeUserKey() callback. #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+634 lines, -2 lines) Patch
M chrome/app/policy/policy_templates.json View 1 2 3 4 5 6 7 2 chunks +44 lines, -1 line 0 comments Download
M chrome/browser/chromeos/settings/cros_settings_names.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/cros_settings_names.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.h View 1 2 3 4 5 6 1 chunk +123 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc View 1 2 3 4 5 6 1 chunk +340 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_function_histogram_value.h View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_handler_list.cc View 1 2 3 4 5 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/policy/configuration_policy_pref_store_unittest.cc View 1 2 3 4 5 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/prefs/browser_prefs.cc View 1 2 3 4 5 6 7 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/api/enterprise_platform_keys_private.json View 1 2 3 4 5 6 1 chunk +67 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/test/data/policy/policy_test_cases.json View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
Mattias Nissler (ping if slow)
some initial comments, you also want to run this by extension people. https://codereview.chromium.org/13132004/diff/40001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json ...
7 years, 8 months ago (2013-04-04 12:51:34 UTC) #1
davidyu
https://codereview.chromium.org/13132004/diff/40001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://codereview.chromium.org/13132004/diff/40001/chrome/app/policy/policy_templates.json#newcode4516 chrome/app/policy/policy_templates.json:4516: 'per_profile': False, On 2013/04/04 12:51:34, Mattias Nissler wrote: > ...
7 years, 8 months ago (2013-04-09 09:30:08 UTC) #2
Mattias Nissler (ping if slow)
More prefs/policy comments, I'll leave it to Matt to review the extensions side. https://codereview.chromium.org/13132004/diff/40001/chrome/app/policy/policy_templates.json File ...
7 years, 8 months ago (2013-04-10 16:53:25 UTC) #3
Matt Perry
https://codereview.chromium.org/13132004/diff/47001/chrome/browser/extensions/api/enterprise_enterprise_key_private/enterprise_enterprise_key_private_api.cc File chrome/browser/extensions/api/enterprise_enterprise_key_private/enterprise_enterprise_key_private_api.cc (right): https://codereview.chromium.org/13132004/diff/47001/chrome/browser/extensions/api/enterprise_enterprise_key_private/enterprise_enterprise_key_private_api.cc#newcode115 chrome/browser/extensions/api/enterprise_enterprise_key_private/enterprise_enterprise_key_private_api.cc:115: AddRef(); You should be able to remove the manual ...
7 years, 8 months ago (2013-04-10 21:14:01 UTC) #4
davidyu
https://codereview.chromium.org/13132004/diff/40001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://codereview.chromium.org/13132004/diff/40001/chrome/app/policy/policy_templates.json#newcode4516 chrome/app/policy/policy_templates.json:4516: 'per_profile': False, On 2013/04/10 16:53:25, Mattias Nissler wrote: > ...
7 years, 8 months ago (2013-04-11 07:04:21 UTC) #5
davidyu
Reviewers, PTAL. Thanks! On 2013/04/11 07:04:21, davidyu wrote: > https://codereview.chromium.org/13132004/diff/40001/chrome/app/policy/policy_templates.json > File chrome/app/policy/policy_templates.json (right): > ...
7 years, 8 months ago (2013-04-16 05:47:36 UTC) #6
Mattias Nissler (ping if slow)
Only a couple minor things from my side. https://codereview.chromium.org/13132004/diff/57001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://codereview.chromium.org/13132004/diff/57001/chrome/app/policy/policy_templates.json#newcode4521 chrome/app/policy/policy_templates.json:4521: 'desc': ...
7 years, 8 months ago (2013-04-16 15:50:25 UTC) #7
Matt Perry
lgtm
7 years, 8 months ago (2013-04-16 17:48:08 UTC) #8
davidyu
https://codereview.chromium.org/13132004/diff/47001/chrome/browser/policy/configuration_policy_handler_list.cc File chrome/browser/policy/configuration_policy_handler_list.cc (right): https://codereview.chromium.org/13132004/diff/47001/chrome/browser/policy/configuration_policy_handler_list.cc#newcode383 chrome/browser/policy/configuration_policy_handler_list.cc:383: Value::TYPE_LIST }, On 2013/04/10 16:53:26, Mattias Nissler wrote: > ...
7 years, 8 months ago (2013-04-17 05:39:15 UTC) #9
Mattias Nissler (ping if slow)
LGTM w/ nits to fix and pending green trybots. https://codereview.chromium.org/13132004/diff/70001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://codereview.chromium.org/13132004/diff/70001/chrome/app/policy/policy_templates.json#newcode4521 chrome/app/policy/policy_templates.json:4521: ...
7 years, 8 months ago (2013-04-17 08:09:09 UTC) #10
davidyu
https://codereview.chromium.org/13132004/diff/70001/chrome/app/policy/policy_templates.json File chrome/app/policy/policy_templates.json (right): https://codereview.chromium.org/13132004/diff/70001/chrome/app/policy/policy_templates.json#newcode4521 chrome/app/policy/policy_templates.json:4521: 'desc': '''If true, the user can use the hardware ...
7 years, 8 months ago (2013-04-17 08:24:19 UTC) #11
davidyu
Hi jochen, I need your approval on chrome/chrome_browser_extensions.gypi. Thanks! On 2013/04/17 08:24:19, davidyu wrote: > ...
7 years, 8 months ago (2013-04-17 08:29:48 UTC) #12
jochen (gone - plz use gerrit)
*gypi* lgtm
7 years, 8 months ago (2013-04-17 08:39:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/davidyu@chromium.org/13132004/78001
7 years, 8 months ago (2013-04-17 23:59:07 UTC) #14
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 8 months ago (2013-04-18 00:19:09 UTC) #15
dkrahn
A few late comments which can be addressed in a subsequent CL. It would also ...
7 years, 8 months ago (2013-04-18 01:11:44 UTC) #16
davidyu
https://codereview.chromium.org/13132004/diff/78001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc File chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc (right): https://codereview.chromium.org/13132004/diff/78001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc#newcode232 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc:232: challenge, register_key, domain, true)); On 2013/04/18 01:11:44, Darren Krahn ...
7 years, 8 months ago (2013-04-18 06:08:11 UTC) #17
dkrahn
https://codereview.chromium.org/13132004/diff/78001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc File chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc (right): https://codereview.chromium.org/13132004/diff/78001/chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc#newcode232 chrome/browser/extensions/api/enterprise_platform_keys_private/enterprise_platform_keys_private_api.cc:232: challenge, register_key, domain, true)); On 2013/04/18 06:08:11, davidyu wrote: ...
7 years, 8 months ago (2013-04-18 17:04:52 UTC) #18
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 01:48:45 UTC) #19
Message was sent while issue was closed.
Change committed as 195043

Powered by Google App Engine
This is Rietveld 408576698