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

Issue 766303003: A private API for the cryptotoken component extension. (Closed)

Created:
6 years ago by Arnar Birgisson
Modified:
6 years ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, oshima+watch_chromium.org, extensions-reviews_chromium.org, juanlang (chromium.org)
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

A private API for the cryptotoken component extension. Allows the extension to display an infobar to collect explicit user consent before registering a key. BUG=426358 Committed: https://crrev.com/761734c77f75ed82ccadd79831acc64f77762510 Cr-Commit-Position: refs/heads/master@{#308199}

Patch Set 1 #

Total comments: 11

Patch Set 2 : Implementation of API #

Patch Set 3 : Address comments on IDL #

Patch Set 4 : Formatting #

Patch Set 5 : Rebase for histograms #

Total comments: 2

Patch Set 6 : Correct sort in c/a/theme/theme_resources.grd #

Patch Set 7 : New permission has no ui string, skip in tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -0 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +13 lines, -0 lines 0 comments Download
A chrome/app/theme/default_100_percent/common/infobar_cryptotoken.png View Binary file 0 comments Download
A chrome/app/theme/default_200_percent/common/infobar_cryptotoken.png View Binary file 0 comments Download
M chrome/app/theme/theme_resources.grd View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.h View 1 1 chunk +44 lines, -0 lines 0 comments Download
A chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.cc View 1 2 3 1 chunk +133 lines, -0 lines 0 comments Download
M chrome/browser/resources/cryptotoken/manifest.json View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_api_features.json View 1 2 3 4 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download
A chrome/common/extensions/api/cryptotoken_private.idl View 1 2 1 chunk +34 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/schemas.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/chrome_api_permissions.cc View 1 2 3 4 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 1 chunk +1 line, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/permissions/api_permission.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
not at google - send to devlin
https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl File chrome/common/extensions/api/cryptotoken_private.idl (right): https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl#newcode16 chrome/common/extensions/api/cryptotoken_private.idl:16: UNKNOWN I would call this something other than UNKNOWN, ...
6 years ago (2014-12-05 17:59:54 UTC) #2
Arnar Birgisson
https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl File chrome/common/extensions/api/cryptotoken_private.idl (right): https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl#newcode16 chrome/common/extensions/api/cryptotoken_private.idl:16: UNKNOWN On 2014/12/05 17:59:54, kalman wrote: > I would ...
6 years ago (2014-12-05 18:28:03 UTC) #3
not at google - send to devlin
lgtm https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl File chrome/common/extensions/api/cryptotoken_private.idl (right): https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl#newcode7 chrome/common/extensions/api/cryptotoken_private.idl:7: [nodoc] namespace cryptotokenPrivate { nodoc not necessary, so ...
6 years ago (2014-12-05 19:07:56 UTC) #4
juanlang (chromium.org)
https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl File chrome/common/extensions/api/cryptotoken_private.idl (right): https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl#newcode11 chrome/common/extensions/api/cryptotoken_private.idl:11: // User expclitly allowed Nit: s/expclitly/explicitly/
6 years ago (2014-12-10 01:39:05 UTC) #6
Arnar Birgisson
Added an implementation, please take another look. https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl File chrome/common/extensions/api/cryptotoken_private.idl (right): https://codereview.chromium.org/766303003/diff/1/chrome/common/extensions/api/cryptotoken_private.idl#newcode7 chrome/common/extensions/api/cryptotoken_private.idl:7: [nodoc] namespace ...
6 years ago (2014-12-11 20:12:53 UTC) #8
Reilly Grant (use Gerrit)
lgtm (but kalman@ will have to approve)
6 years ago (2014-12-11 23:50:06 UTC) #9
not at google - send to devlin
I approve.
6 years ago (2014-12-11 23:53:09 UTC) #10
Arnar Birgisson
Owners, please review the following parts: oshima: chrome/app/theme xiyuan: cryptotoken manifest (I'll submit a cryptotoken ...
6 years ago (2014-12-12 01:03:47 UTC) #11
Arnar Birgisson
Rebased and hopefully added owner TBRs correctly this time.
6 years ago (2014-12-12 01:10:42 UTC) #12
Arnar Birgisson
Owners, please review the following parts: oshima: chrome/app/theme xiyuan: cryptotoken manifest (I'll submit a cryptotoken ...
6 years ago (2014-12-12 01:15:15 UTC) #14
xiyuan
chrome/browser/resources/cryptotoken/manifest.json LGTM
6 years ago (2014-12-12 01:28:07 UTC) #15
Alexei Svitkine (slow)
histograms lgtm
6 years ago (2014-12-12 16:21:33 UTC) #16
oshima
https://codereview.chromium.org/766303003/diff/80001/chrome/app/theme/theme_resources.grd File chrome/app/theme/theme_resources.grd (right): https://codereview.chromium.org/766303003/diff/80001/chrome/app/theme/theme_resources.grd#newcode446 chrome/app/theme/theme_resources.grd:446: <structure type="chrome_scaled_image" name="IDR_INFOBAR_CRYPTOTOKEN" file="common/infobar_cryptotoken.png" /> please sort
6 years ago (2014-12-12 19:30:22 UTC) #17
Arnar Birgisson
Correct sort + rebase. https://codereview.chromium.org/766303003/diff/80001/chrome/app/theme/theme_resources.grd File chrome/app/theme/theme_resources.grd (right): https://codereview.chromium.org/766303003/diff/80001/chrome/app/theme/theme_resources.grd#newcode446 chrome/app/theme/theme_resources.grd:446: <structure type="chrome_scaled_image" name="IDR_INFOBAR_CRYPTOTOKEN" file="common/infobar_cryptotoken.png" /> ...
6 years ago (2014-12-12 19:37:13 UTC) #18
oshima
c/a/theme lgtm
6 years ago (2014-12-12 19:49:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/766303003/100001
6 years ago (2014-12-12 21:40:52 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/766303003/120001
6 years ago (2014-12-12 22:28:09 UTC) #25
commit-bot: I haz the power
Committed patchset #7 (id:120001)
6 years ago (2014-12-13 00:07:30 UTC) #26
commit-bot: I haz the power
6 years ago (2014-12-13 00:08:28 UTC) #27
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/761734c77f75ed82ccadd79831acc64f77762510
Cr-Commit-Position: refs/heads/master@{#308199}

Powered by Google App Engine
This is Rietveld 408576698