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

Issue 11413099: Bluetooth API Permission Dialogs. (Closed)

Created:
8 years, 1 month ago by bryeung
Modified:
8 years ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Aaron Boodman, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Visibility:
Public.

Description

Bluetooth API Permission Dialogs. This CL introduces two new concepts: - API permissions that cannot be found in the manifest (and therefore need not be in the optional permissions section to be optionally requested) - optional API permission requests that have associated data BUG=119473 TBR=sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170514 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170809

Patch Set 1 #

Total comments: 15

Patch Set 2 : review comments #

Patch Set 3 : minor fixups #

Patch Set 4 : minor cleanup #

Patch Set 5 : rebase #

Patch Set 6 : fix test #

Patch Set 7 : rebase #

Patch Set 8 : fix memory leak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+443 lines, -9 lines) Patch
M chrome/app/generated_resources.grd View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/bluetooth/bluetooth_api.cc View 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/permissions/permissions_api.cc View 1 chunk +8 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/permissions/permissions_api_helpers.cc View 4 chunks +36 lines, -7 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/DEPS View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.cc View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission.h View 1 2 3 4 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission.cc View 1 2 3 4 3 chunks +12 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/api_permission_set.cc View 1 chunk +8 lines, -1 line 0 comments Download
A chrome/common/extensions/permissions/bluetooth_device_permission.h View 1 2 3 1 chunk +65 lines, -0 lines 0 comments Download
A chrome/common/extensions/permissions/bluetooth_device_permission.cc View 1 2 3 1 chunk +220 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_message.h View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set.h View 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 3 4 5 6 7 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/renderer/extensions/dispatcher.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A chrome/renderer/resources/extensions/permissions_custom_bindings.js View 1 chunk +36 lines, -0 lines 0 comments Download
M chrome/renderer/resources/renderer_resources.grd View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
bryeung
8 years ago (2012-11-27 19:50:01 UTC) #1
Matt Perry
nice change overall https://codereview.chromium.org/11413099/diff/1/chrome/browser/extensions/api/permissions/permissions_api_helpers.cc File chrome/browser/extensions/api/permissions/permissions_api_helpers.cc (right): https://codereview.chromium.org/11413099/diff/1/chrome/browser/extensions/api/permissions/permissions_api_helpers.cc#newcode64 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc:64: // processing here. how easy would ...
8 years ago (2012-11-27 21:35:32 UTC) #2
bryeung
https://codereview.chromium.org/11413099/diff/1/chrome/browser/extensions/api/permissions/permissions_api_helpers.cc File chrome/browser/extensions/api/permissions/permissions_api_helpers.cc (right): https://codereview.chromium.org/11413099/diff/1/chrome/browser/extensions/api/permissions/permissions_api_helpers.cc#newcode64 chrome/browser/extensions/api/permissions/permissions_api_helpers.cc:64: // processing here. On 2012/11/27 21:35:32, Matt Perry wrote: ...
8 years ago (2012-11-28 21:55:04 UTC) #3
Matt Perry
lgtm https://codereview.chromium.org/11413099/diff/1/chrome/common/extensions/permissions/bluetooth_device_permission.h File chrome/common/extensions/permissions/bluetooth_device_permission.h (right): https://codereview.chromium.org/11413099/diff/1/chrome/common/extensions/permissions/bluetooth_device_permission.h#newcode61 chrome/common/extensions/permissions/bluetooth_device_permission.h:61: std::set<std::string> allowed_devices_; On 2012/11/28 21:55:05, bryeung wrote: > ...
8 years ago (2012-11-28 21:59:00 UTC) #4
bryeung
On 2012/11/28 21:59:00, Matt Perry wrote: > Sounds good. > > (though it seems the ...
8 years ago (2012-11-29 15:38:00 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/11413099/7005
8 years ago (2012-11-29 15:38:38 UTC) #6
commit-bot: I haz the power
Failed to apply patch for chrome/common/extensions/permissions/permission_message.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
8 years ago (2012-11-29 15:38:47 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/11413099/3007
8 years ago (2012-11-29 15:45:08 UTC) #8
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) unit_tests
8 years ago (2012-11-29 16:31:20 UTC) #9
bryeung
Matt: I had to update a test that I missed. I doubt you'll have a ...
8 years ago (2012-11-29 19:06:48 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/11413099/9028
8 years ago (2012-11-29 19:07:25 UTC) #11
Matt Perry
lgtm
8 years ago (2012-11-29 19:18:48 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) interactive_ui_tests
8 years ago (2012-11-29 20:51:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/11413099/8011
8 years ago (2012-11-30 15:39:17 UTC) #14
commit-bot: I haz the power
Change committed as 170514
8 years ago (2012-11-30 19:55:07 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/11413099/3051
8 years ago (2012-12-03 16:12:54 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) ash_unittests
8 years ago (2012-12-03 18:14:03 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bryeung@chromium.org/11413099/3051
8 years ago (2012-12-03 18:50:53 UTC) #18
commit-bot: I haz the power
8 years ago (2012-12-03 21:05:26 UTC) #19
Message was sent while issue was closed.
Change committed as 170809

Powered by Google App Engine
This is Rietveld 408576698