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

Issue 2185213002: Display USB devices in the site settings popup on Android. (Closed)

Created:
4 years, 4 months ago by Reilly Grant (use Gerrit)
Modified:
4 years, 4 months ago
Reviewers:
Theresa, Yaron, benwells
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Display USB devices in the site settings popup on Android. This patch adds USB devices (and any other type of chosen object that is defined in the future such as Bluetooth devices) to the list of permissions displayed in the site settings popup on Android that is displayed when the site icon is tapped. BUG=601627 Committed: https://crrev.com/58f82ab510dc67bbf55c60f99abe8e1339534c19 Cr-Commit-Position: refs/heads/master@{#409425}

Patch Set 1 #

Total comments: 5

Patch Set 2 : Replaced code to free chosen objects. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -7 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/preferences/website/ContentSettingsResources.java View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/android/website_settings_popup_android.cc View 1 2 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 23 (12 generated)
Reilly Grant (use Gerrit)
Please take a look. twellington@ for //chrome/android yfriedman@ for //chrome/browser/ui/android benwells@ for //chrome/browser/ui/website_settings
4 years, 4 months ago (2016-07-27 22:46:32 UTC) #2
benwells
https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/website_settings/website_settings.cc File chrome/browser/ui/website_settings/website_settings.cc (right): https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/website_settings/website_settings.cc#newcode204 chrome/browser/ui/website_settings/website_settings.cc:204: {CONTENT_SETTINGS_TYPE_USB_CHOOSER_DATA, &GetUsbChooserContext, Is there a plan to remove this ...
4 years, 4 months ago (2016-07-28 07:51:13 UTC) #7
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/website_settings/website_settings.cc File chrome/browser/ui/website_settings/website_settings.cc (right): https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/website_settings/website_settings.cc#newcode204 chrome/browser/ui/website_settings/website_settings.cc:204: {CONTENT_SETTINGS_TYPE_USB_CHOOSER_DATA, &GetUsbChooserContext, On 2016/07/28 at 07:51:13, benwells wrote: > ...
4 years, 4 months ago (2016-07-28 17:55:43 UTC) #8
Theresa
chrome/android/ lgtm
4 years, 4 months ago (2016-07-28 18:21:12 UTC) #9
benwells
lgtm https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/website_settings/website_settings.cc File chrome/browser/ui/website_settings/website_settings.cc (right): https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/website_settings/website_settings.cc#newcode204 chrome/browser/ui/website_settings/website_settings.cc:204: {CONTENT_SETTINGS_TYPE_USB_CHOOSER_DATA, &GetUsbChooserContext, On 2016/07/28 17:55:43, Reilly Grant wrote: ...
4 years, 4 months ago (2016-07-29 05:01:39 UTC) #10
Yaron
https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/android/website_settings_popup_android.cc File chrome/browser/ui/android/website_settings_popup_android.cc (left): https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/android/website_settings_popup_android.cc#oldcode98 chrome/browser/ui/android/website_settings_popup_android.cc:98: STLDeleteContainerPointers(chosen_object_info_list.begin(), these should still be freed at the end, ...
4 years, 4 months ago (2016-08-01 02:22:58 UTC) #11
Reilly Grant (use Gerrit)
https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/android/website_settings_popup_android.cc File chrome/browser/ui/android/website_settings_popup_android.cc (left): https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/android/website_settings_popup_android.cc#oldcode98 chrome/browser/ui/android/website_settings_popup_android.cc:98: STLDeleteContainerPointers(chosen_object_info_list.begin(), On 2016/08/01 at 02:22:58, Yaron (OOO) wrote: > ...
4 years, 4 months ago (2016-08-01 19:00:49 UTC) #13
Yaron
On 2016/08/01 19:00:49, Reilly Grant wrote: > https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/android/website_settings_popup_android.cc > File chrome/browser/ui/android/website_settings_popup_android.cc (left): > > https://codereview.chromium.org/2185213002/diff/1/chrome/browser/ui/android/website_settings_popup_android.cc#oldcode98 ...
4 years, 4 months ago (2016-08-03 00:48:02 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2185213002/20001
4 years, 4 months ago (2016-08-03 00:56:46 UTC) #20
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-03 01:50:07 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-03 01:53:07 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/58f82ab510dc67bbf55c60f99abe8e1339534c19
Cr-Commit-Position: refs/heads/master@{#409425}

Powered by Google App Engine
This is Rietveld 408576698