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

Issue 214863002: Extension API enterprise.platformKeys. (Closed)

Created:
6 years, 9 months ago by pneubeck (no reviews)
Modified:
6 years, 7 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Extension API enterprise.platformKeys. First version that implements all proposed functions backed by the TPM; enabled on dev-channel only. This is still missing several features: - Reusing algorithm normalization of WebCrypto. - Allow calling Sign() at most once per key. - Storing which extension imported a certificate. - Device-wide token. - Passing publicExponent to generateKey. - Throwing DOMExceptions instead of Errors. - ... BUG=364435 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=272613

Patch Set 1 : Implementing importClientCert #

Patch Set 2 : Allow import of non-extractable keys. #

Total comments: 16

Patch Set 3 : Don't expose the private key to JS #

Patch Set 4 : Changed to OO-style API with Token object. #

Total comments: 5

Patch Set 5 : Implemented getCerts and removeCert functions. #

Patch Set 6 : More error handling. #

Patch Set 7 : Changed to WebCrypto like API. #

Total comments: 18

Patch Set 8 : Addressed comments. Splitted custom_binding, added comments... #

Total comments: 51

Patch Set 9 : json -> idl, use ChromeUIThreadExtFun, split key.js, ... #

Total comments: 5

Patch Set 10 : Removed some namespaces, changed ownership, more documentation #

Total comments: 10

Patch Set 11 : Addressed some nits. #

Patch Set 12 : @kalman only #

Total comments: 45

Patch Set 13 : Cleaned up errors, move details out of ext. API #

Patch Set 14 : Added/updated OWNERS files. #

Patch Set 15 : Removed 'location: policy' comment. #

Total comments: 2

Patch Set 16 : Some minor cleanups. #

Total comments: 9

Patch Set 17 : Addressed Benjamin's comments. Handling invalid token error. #

Patch Set 18 : Enabled restriction to extensions force-installed by policy. #

Total comments: 16

Patch Set 19 : Addressed minor issues. #

Patch Set 20 : NSS operations now asynchronous. #

Total comments: 4

Patch Set 21 : Asynchronous calls revisited. #

Total comments: 24

Patch Set 22 : Addressed Eric's comments. #

Patch Set 23 : Rebased and made test running on current trunk. #

Patch Set 24 : Moved CertDatabase changes into separate CL. #

Patch Set 25 : Fixed few remaining nits. #

Patch Set 26 : Rebased and fixed PermissionsTest. #

Total comments: 4

Patch Set 27 : Rebased. #

Patch Set 28 : Rebased. #

Patch Set 29 : Updated histograms.xml. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2325 lines, -33 lines) Patch
A chrome/browser/chromeos/platform_keys/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/chromeos/platform_keys/platform_keys.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +110 lines, -0 lines 0 comments Download
A chrome/browser/chromeos/platform_keys/platform_keys_nss.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +563 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/enterprise_platform_keys/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -0 lines 0 comments Download
A chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +107 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +237 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +222 lines, -0 lines 0 comments Download
M chrome/chrome_browser_chromeos.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_renderer.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +9 lines, -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 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/api.gyp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/enterprise_platform_keys.idl View 1 2 3 4 5 6 7 8 9 1 chunk +78 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/enterprise_platform_keys_internal.idl View 1 2 3 4 5 6 7 8 9 10 1 chunk +50 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/renderer/resources/extensions/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/enterprise_platform_keys/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/enterprise_platform_keys/internal_api.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/enterprise_platform_keys/key.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +66 lines, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/enterprise_platform_keys/key_pair.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/enterprise_platform_keys/subtle_crypto.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 1 chunk +144 lines, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/enterprise_platform_keys/token.js View 1 2 3 4 5 6 7 8 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/enterprise_platform_keys/utils.js View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/enterprise_platform_keys_custom_bindings.js View 1 2 3 4 5 6 7 8 9 10 1 chunk +32 lines, -0 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +7 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/enterprise_platform_keys.crx View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Binary file 0 comments Download
A chrome/test/data/extensions/api_test/enterprise_platform_keys.pem View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +28 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/enterprise_platform_keys/OWNERS View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +1 line, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/enterprise_platform_keys/basic.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +6 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/enterprise_platform_keys/basic.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 1 chunk +394 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/enterprise_platform_keys/manifest.json View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/api_test/enterprise_platform_keys/update_manifest.xml View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 chunk +12 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/common/permissions/api_permission.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M net/cert/nss_cert_database.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 6 chunks +37 lines, -4 lines 0 comments Download
M net/cert/nss_cert_database.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 7 chunks +79 lines, -28 lines 0 comments Download
M net/cert/nss_cert_database_chromeos.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 58 (0 generated)
pneubeck (no reviews)
FYI This is the CL where I'll regularly upload my current implementation. So all WIP. ...
6 years, 8 months ago (2014-04-10 15:18:37 UTC) #1
eroman
I only looked at the file which interfaces with WebCrypto, gave some initial comments. https://codereview.chromium.org/214863002/diff/100001/chrome/renderer/extensions/enterprise_certificates_natives.cc ...
6 years, 8 months ago (2014-04-10 18:45:46 UTC) #2
pneubeck (no reviews)
Thanks Eric for the early feedback. The most important change is that the private key ...
6 years, 8 months ago (2014-04-11 14:13:59 UTC) #3
pneubeck (no reviews)
@Benjamin, please check whether the structuring into custom_bindings / ...natives.cc / internal API / external ...
6 years, 8 months ago (2014-04-14 17:43:21 UTC) #4
Ryan Sleevi
https://codereview.chromium.org/214863002/diff/140001/chrome/browser/extensions/api/enterprise_certificates/enterprise_certificates_internal_api.cc File chrome/browser/extensions/api/enterprise_certificates/enterprise_certificates_internal_api.cc (right): https://codereview.chromium.org/214863002/diff/140001/chrome/browser/extensions/api/enterprise_certificates/enterprise_certificates_internal_api.cc#newcode26 chrome/browser/extensions/api/enterprise_certificates/enterprise_certificates_internal_api.cc:26: GetProfile(), base::Bind(&ECIImport::DidGetCertDB, this)); This file should either be suffixed ...
6 years, 8 months ago (2014-04-15 00:15:03 UTC) #5
pneubeck (no reviews)
-eroman Ptal. I changed to the new proposal that incorporates a WebCrypto::SubtleCrypto member. I'm not ...
6 years, 7 months ago (2014-05-02 17:44:01 UTC) #6
not at google - send to devlin
looked at json, idl, js files. https://codereview.chromium.org/214863002/diff/330001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://codereview.chromium.org/214863002/diff/330001/chrome/common/extensions/api/_api_features.json#newcode280 chrome/common/extensions/api/_api_features.json:280: "channel": "dev", this ...
6 years, 7 months ago (2014-05-02 18:31:55 UTC) #7
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/330001/chrome/common/extensions/api/_api_features.json File chrome/common/extensions/api/_api_features.json (right): https://codereview.chromium.org/214863002/diff/330001/chrome/common/extensions/api/_api_features.json#newcode280 chrome/common/extensions/api/_api_features.json:280: "channel": "dev", On 2014/05/02 18:31:56, kalman wrote: > this ...
6 years, 7 months ago (2014-05-05 20:09:34 UTC) #8
not at google - send to devlin
https://codereview.chromium.org/214863002/diff/330001/chrome/common/extensions/api/_permission_features.json File chrome/common/extensions/api/_permission_features.json (right): https://codereview.chromium.org/214863002/diff/330001/chrome/common/extensions/api/_permission_features.json#newcode340 chrome/common/extensions/api/_permission_features.json:340: "extension_types": ["extension", "legacy_packaged_app"] On 2014/05/05 20:09:35, pneubeck wrote: > ...
6 years, 7 months ago (2014-05-05 21:09:23 UTC) #9
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/410001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h File chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h (right): https://codereview.chromium.org/214863002/diff/410001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h#newcode13 chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h:13: namespace enterprise_platform_keys { On 2014/05/05 21:09:24, kalman wrote: > ...
6 years, 7 months ago (2014-05-05 21:28:22 UTC) #10
not at google - send to devlin
https://codereview.chromium.org/214863002/diff/410001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h File chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h (right): https://codereview.chromium.org/214863002/diff/410001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h#newcode13 chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h:13: namespace enterprise_platform_keys { On 2014/05/05 21:28:23, pneubeck wrote: > ...
6 years, 7 months ago (2014-05-05 21:44:49 UTC) #11
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/410001/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://codereview.chromium.org/214863002/diff/410001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc#newcode130 chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc:130: return true; On 2014/05/05 21:09:24, kalman wrote: > overriding ...
6 years, 7 months ago (2014-05-06 14:07:20 UTC) #12
not at google - send to devlin
comments are drying up :) you might want somebody familiar with the crypto stuff to ...
6 years, 7 months ago (2014-05-07 00:00:11 UTC) #13
not at google - send to devlin
(ah, I see Ryan is on the CL already)
6 years, 7 months ago (2014-05-07 00:00:38 UTC) #14
not at google - send to devlin
https://codereview.chromium.org/214863002/diff/410001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h File chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h (right): https://codereview.chromium.org/214863002/diff/410001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h#newcode13 chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.h:13: namespace enterprise_platform_keys { > Ok if you insist. This ...
6 years, 7 months ago (2014-05-07 15:42:24 UTC) #15
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/410001/chrome/browser/extensions/api/enterprise_platform_keys/token_method_nss.h File chrome/browser/extensions/api/enterprise_platform_keys/token_method_nss.h (right): https://codereview.chromium.org/214863002/diff/410001/chrome/browser/extensions/api/enterprise_platform_keys/token_method_nss.h#newcode25 chrome/browser/extensions/api/enterprise_platform_keys/token_method_nss.h:25: namespace enterprise_platform_keys { On 2014/05/07 00:00:12, kalman wrote: > ...
6 years, 7 months ago (2014-05-07 21:44:18 UTC) #16
not at google - send to devlin
https://codereview.chromium.org/214863002/diff/410001/chrome/renderer/resources/extensions/enterprise_platform_keys_internal_custom_bindings.js File chrome/renderer/resources/extensions/enterprise_platform_keys_internal_custom_bindings.js (right): https://codereview.chromium.org/214863002/diff/410001/chrome/renderer/resources/extensions/enterprise_platform_keys_internal_custom_bindings.js#newcode7 chrome/renderer/resources/extensions/enterprise_platform_keys_internal_custom_bindings.js:7: .generate(); On 2014/05/07 21:44:19, pneubeck wrote: > On 2014/05/07 ...
6 years, 7 months ago (2014-05-08 00:13:13 UTC) #17
pneubeck (no reviews)
@Benjamin, I started yet another variant in the last patchset. I'd like to get your ...
6 years, 7 months ago (2014-05-08 15:04:16 UTC) #18
not at google - send to devlin
https://codereview.chromium.org/214863002/diff/470001/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://codereview.chromium.org/214863002/diff/470001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc#newcode73 chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc:73: AddRef(); On 2014/05/08 15:04:17, pneubeck wrote: > On 2014/05/08 ...
6 years, 7 months ago (2014-05-08 15:19:31 UTC) #19
not at google - send to devlin
And I'm still not understanding why you have 2 files (4 if you count the ...
6 years, 7 months ago (2014-05-08 15:21:05 UTC) #20
not at google - send to devlin
Reminder: add OWNERS file too.
6 years, 7 months ago (2014-05-08 15:55:20 UTC) #21
Ryan Sleevi
https://codereview.chromium.org/214863002/diff/330001/base/logging.cc File base/logging.cc (right): https://codereview.chromium.org/214863002/diff/330001/base/logging.cc#newcode373 base/logging.cc:373: // CHECK(!g_vlog_info_prev); WIP? :) https://codereview.chromium.org/214863002/diff/530001/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://codereview.chromium.org/214863002/diff/530001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc#newcode80 ...
6 years, 7 months ago (2014-05-08 20:52:03 UTC) #22
pneubeck (no reviews)
ptal https://codereview.chromium.org/214863002/diff/530001/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://codereview.chromium.org/214863002/diff/530001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc#newcode80 chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc:80: /* On 2014/05/08 20:52:04, Ryan Sleevi wrote: > ...
6 years, 7 months ago (2014-05-14 15:01:48 UTC) #23
pneubeck (no reviews)
please also take a look at the commit message which lists the important TODOs.
6 years, 7 months ago (2014-05-14 15:03:26 UTC) #24
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/590001/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc File chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc (right): https://codereview.chromium.org/214863002/diff/590001/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc#newcode164 chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc:164: source_map->RegisterSource("enterprise.platformKeys", @Benjamin, should these resources be registered only for ...
6 years, 7 months ago (2014-05-14 15:49:14 UTC) #25
not at google - send to devlin
about to have a look, responding to comment https://codereview.chromium.org/214863002/diff/590001/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc File chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc (right): https://codereview.chromium.org/214863002/diff/590001/chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc#newcode164 chrome/renderer/extensions/chrome_extensions_dispatcher_delegate.cc:164: source_map->RegisterSource("enterprise.platformKeys", ...
6 years, 7 months ago (2014-05-14 17:16:09 UTC) #26
not at google - send to devlin
extension system lgtm, thanks for bearing with me, some more comments (most importantly the Validate ...
6 years, 7 months ago (2014-05-14 18:11:00 UTC) #27
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/610001/chrome/browser/chromeos/platform_keys/platform_keys.h File chrome/browser/chromeos/platform_keys/platform_keys.h (right): https://codereview.chromium.org/214863002/diff/610001/chrome/browser/chromeos/platform_keys/platform_keys.h#newcode34 chrome/browser/chromeos/platform_keys/platform_keys.h:34: // generated key or an error message. On 2014/05/14 ...
6 years, 7 months ago (2014-05-15 09:25:09 UTC) #28
not at google - send to devlin
https://codereview.chromium.org/214863002/diff/610001/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://codereview.chromium.org/214863002/diff/610001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc#newcode41 chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_api.cc:41: EXTENSION_FUNCTION_VALIDATE(params && ValidateToken(params->token_id)); > Not sure what you mean ...
6 years, 7 months ago (2014-05-15 15:03:04 UTC) #29
not at google - send to devlin
> Not really, at least not for significant strings. There is a way to share ...
6 years, 7 months ago (2014-05-15 15:04:52 UTC) #30
pneubeck (no reviews)
@Ryan, ptal if you have a chance.
6 years, 7 months ago (2014-05-15 15:14:11 UTC) #31
Ryan Sleevi
Adding in eroman@ to sanity check
6 years, 7 months ago (2014-05-15 19:45:29 UTC) #32
Ryan Sleevi
Ok, deferring the remaining bits to Eric and Matt In this round, I specifically focused ...
6 years, 7 months ago (2014-05-15 19:57:12 UTC) #33
pneubeck (no reviews)
For clarification: token_method_* was renamed to platform_keys_*
6 years, 7 months ago (2014-05-16 08:01:42 UTC) #34
pneubeck (no reviews)
NSS operations are now all run on a worker thread from the worker pool. https://codereview.chromium.org/214863002/diff/660001/chrome/browser/chromeos/platform_keys/platform_keys.h ...
6 years, 7 months ago (2014-05-16 12:30:15 UTC) #35
mattm
https://codereview.chromium.org/214863002/diff/660001/chrome/browser/chromeos/platform_keys/platform_keys.h File chrome/browser/chromeos/platform_keys/platform_keys.h (right): https://codereview.chromium.org/214863002/diff/660001/chrome/browser/chromeos/platform_keys/platform_keys.h#newcode105 chrome/browser/chromeos/platform_keys/platform_keys.h:105: } // namespace platform_keys extraneous space https://codereview.chromium.org/214863002/diff/660001/chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc File chrome/browser/extensions/api/enterprise_platform_keys/enterprise_platform_keys_apitest_nss.cc ...
6 years, 7 months ago (2014-05-16 20:27:11 UTC) #36
pneubeck (no reviews)
@Matt, ptal https://codereview.chromium.org/214863002/diff/660001/chrome/browser/chromeos/platform_keys/platform_keys.h File chrome/browser/chromeos/platform_keys/platform_keys.h (right): https://codereview.chromium.org/214863002/diff/660001/chrome/browser/chromeos/platform_keys/platform_keys.h#newcode105 chrome/browser/chromeos/platform_keys/platform_keys.h:105: } // namespace platform_keys On 2014/05/16 20:27:12, ...
6 years, 7 months ago (2014-05-19 19:17:18 UTC) #37
eroman
https://codereview.chromium.org/214863002/diff/780001/chrome/browser/chromeos/platform_keys/platform_keys.h File chrome/browser/chromeos/platform_keys/platform_keys.h (right): https://codereview.chromium.org/214863002/diff/780001/chrome/browser/chromeos/platform_keys/platform_keys.h#newcode36 chrome/browser/chromeos/platform_keys/platform_keys.h:36: // instead always the user token associated to |profile| ...
6 years, 7 months ago (2014-05-19 23:27:44 UTC) #38
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/780001/chrome/browser/chromeos/platform_keys/platform_keys.h File chrome/browser/chromeos/platform_keys/platform_keys.h (right): https://codereview.chromium.org/214863002/diff/780001/chrome/browser/chromeos/platform_keys/platform_keys.h#newcode36 chrome/browser/chromeos/platform_keys/platform_keys.h:36: // instead always the user token associated to |profile| ...
6 years, 7 months ago (2014-05-20 09:29:20 UTC) #39
pneubeck (no reviews)
@Eric and Matt please take another look. I answered/addressed all your comments.
6 years, 7 months ago (2014-05-20 12:40:37 UTC) #40
Ryan Sleevi
https://codereview.chromium.org/214863002/diff/780001/chrome/common/extensions/api/enterprise_platform_keys.idl File chrome/common/extensions/api/enterprise_platform_keys.idl (right): https://codereview.chromium.org/214863002/diff/780001/chrome/common/extensions/api/enterprise_platform_keys.idl#newcode62 chrome/common/extensions/api/enterprise_platform_keys.idl:62: ArrayBuffer certificate, On 2014/05/20 09:29:21, pneubeck wrote: > On ...
6 years, 7 months ago (2014-05-20 18:04:08 UTC) #41
eroman
lgtm for the webcrypto interface. certainly not an exact match, but good enough for a ...
6 years, 7 months ago (2014-05-20 20:16:50 UTC) #42
mattm
lgtm
6 years, 7 months ago (2014-05-20 21:10:15 UTC) #43
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/780001/chrome/common/extensions/api/enterprise_platform_keys.idl File chrome/common/extensions/api/enterprise_platform_keys.idl (right): https://codereview.chromium.org/214863002/diff/780001/chrome/common/extensions/api/enterprise_platform_keys.idl#newcode62 chrome/common/extensions/api/enterprise_platform_keys.idl:62: ArrayBuffer certificate, On 2014/05/20 18:04:09, Ryan Sleevi wrote: > ...
6 years, 7 months ago (2014-05-21 15:01:39 UTC) #44
pneubeck (no reviews)
@Jochen, please review chrome/renderer/resources/renderer_resources.grd @Jar, please review extensions/browser/extension_function_histogram_value.h Thanks
6 years, 7 months ago (2014-05-22 12:23:29 UTC) #45
jochen (gone - plz use gerrit)
is this intended for chromeos only? It looks like the API will be compiled in ...
6 years, 7 months ago (2014-05-22 12:49:23 UTC) #46
pneubeck (no reviews)
On 2014/05/22 12:49:23, jochen wrote: > is this intended for chromeos only? It looks like ...
6 years, 7 months ago (2014-05-22 12:54:34 UTC) #47
jochen (gone - plz use gerrit)
grd changes lgtm
6 years, 7 months ago (2014-05-22 13:05:42 UTC) #48
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/940001/chrome/common/extensions/permissions/permission_set_unittest.cc File chrome/common/extensions/permissions/permission_set_unittest.cc (right): https://codereview.chromium.org/214863002/diff/940001/chrome/common/extensions/permissions/permission_set_unittest.cc#newcode678 chrome/common/extensions/permissions/permission_set_unittest.cc:678: // These permissions are restricted to extensions force-installed by ...
6 years, 7 months ago (2014-05-22 17:59:36 UTC) #49
not at google - send to devlin
https://codereview.chromium.org/214863002/diff/940001/chrome/common/extensions/permissions/permission_set_unittest.cc File chrome/common/extensions/permissions/permission_set_unittest.cc (right): https://codereview.chromium.org/214863002/diff/940001/chrome/common/extensions/permissions/permission_set_unittest.cc#newcode678 chrome/common/extensions/permissions/permission_set_unittest.cc:678: // These permissions are restricted to extensions force-installed by ...
6 years, 7 months ago (2014-05-22 18:03:00 UTC) #50
pneubeck (no reviews)
https://codereview.chromium.org/214863002/diff/940001/chrome/common/extensions/permissions/permission_set_unittest.cc File chrome/common/extensions/permissions/permission_set_unittest.cc (right): https://codereview.chromium.org/214863002/diff/940001/chrome/common/extensions/permissions/permission_set_unittest.cc#newcode678 chrome/common/extensions/permissions/permission_set_unittest.cc:678: // These permissions are restricted to extensions force-installed by ...
6 years, 7 months ago (2014-05-22 18:06:26 UTC) #51
not at google - send to devlin
https://codereview.chromium.org/214863002/diff/940001/chrome/common/extensions/permissions/permission_set_unittest.cc File chrome/common/extensions/permissions/permission_set_unittest.cc (right): https://codereview.chromium.org/214863002/diff/940001/chrome/common/extensions/permissions/permission_set_unittest.cc#newcode678 chrome/common/extensions/permissions/permission_set_unittest.cc:678: // These permissions are restricted to extensions force-installed by ...
6 years, 7 months ago (2014-05-22 18:09:07 UTC) #52
Alexei Svitkine (slow)
lgtm
6 years, 7 months ago (2014-05-23 16:22:47 UTC) #53
pneubeck (no reviews)
-jar@
6 years, 7 months ago (2014-05-23 16:23:23 UTC) #54
pneubeck (no reviews)
The CQ bit was checked by pneubeck@chromium.org
6 years, 7 months ago (2014-05-23 16:23:53 UTC) #55
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/pneubeck@chromium.org/214863002/910041
6 years, 7 months ago (2014-05-23 16:24:57 UTC) #56
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-23 19:36:21 UTC) #57
commit-bot: I haz the power
6 years, 7 months ago (2014-05-23 22:14:27 UTC) #58
Message was sent while issue was closed.
Change committed as 272613

Powered by Google App Engine
This is Rietveld 408576698