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

Issue 1843063002: Don't show scheme in permission prompts if it is HTTPS (Closed)

Created:
4 years, 8 months ago by benwells
Modified:
4 years, 8 months ago
Reviewers:
palmer, Nico, felt, Cait (Slow)
CC:
chromium-reviews, mlamouri+watch-permissions_chromium.org, tfarina, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org, felt, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't show scheme in permission prompts if it is HTTPS HTTPS is nice and safe, so doesn't need to be called out in permission prompts. This change should also make origin display for permission prompts consistent across Android, Mac and Views. BUG=596488 Committed: https://crrev.com/2337b81057c1ac85098834ad75d250e7d87e6a39 Cr-Commit-Position: refs/heads/master@{#388404}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Rejiggered #

Patch Set 3 : Fix win; update cocoa #

Patch Set 4 : Mac compile? #

Patch Set 5 : Oops mac compile again #

Total comments: 2

Patch Set 6 : Comment typo #

Total comments: 1

Patch Set 7 : OMIT_WEB -> OMIT_HTTP_AND_HTTPS, added comment #

Patch Set 8 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+222 lines, -169 lines) Patch
M chrome/browser/android/url_utilities.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/download/notification/download_item_notification.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/geolocation/geolocation_infobar_delegate_android.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/geolocation/geolocation_infobar_delegate_android.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -6 lines 0 comments Download
M chrome/browser/media/media_stream_devices_controller.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/media/media_stream_devices_controller.cc View 1 3 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/media/media_stream_infobar_delegate_android.cc View 1 2 chunks +2 lines, -9 lines 0 comments Download
M chrome/browser/media/midi_permission_infobar_delegate_android.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/midi_permission_infobar_delegate_android.cc View 1 2 chunks +2 lines, -7 lines 0 comments Download
M chrome/browser/media/protected_media_identifier_infobar_delegate_android.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/protected_media_identifier_infobar_delegate_android.cc View 1 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/notifications/notification_permission_infobar_delegate.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/notification_permission_infobar_delegate.cc View 1 2 3 4 5 6 7 2 chunks +2 lines, -8 lines 0 comments Download
M chrome/browser/permissions/permission_bubble_request_impl.cc View 1 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/permissions/permission_infobar_delegate.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/permissions/permission_infobar_delegate.cc View 1 2 chunks +11 lines, -2 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_notification_manager.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm View 1 2 3 4 5 6 5 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/website_settings/permissions_bubble_view.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/website_settings/website_settings.cc View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M components/app_modal/javascript_dialog_manager.cc View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download
M components/password_manager/core/browser/password_ui_utils.h View 1 2 3 4 5 6 2 chunks +6 lines, -6 lines 0 comments Download
M components/password_manager/core/browser/password_ui_utils.cc View 1 2 3 4 5 6 1 chunk +3 lines, -2 lines 0 comments Download
M components/url_formatter/elide_url.h View 1 2 3 4 5 6 2 chunks +15 lines, -12 lines 0 comments Download
M components/url_formatter/elide_url.cc View 1 2 3 4 5 6 2 chunks +51 lines, -43 lines 0 comments Download
M components/url_formatter/elide_url_unittest.cc View 1 2 3 4 5 6 7 3 chunks +86 lines, -39 lines 0 comments Download
M ui/message_center/views/notification_view.cc View 1 2 3 4 5 6 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 31 (14 generated)
benwells
felt / palmer: This isn't complete (tests will break, android infobars), but thought I'd get ...
4 years, 8 months ago (2016-03-30 07:00:25 UTC) #2
palmer
I think this might break valid use cases. It might be better to add a ...
4 years, 8 months ago (2016-03-30 20:23:34 UTC) #3
benwells
On 2016/03/30 20:23:34, palmer wrote: > I think this might break valid use cases. Yeah, ...
4 years, 8 months ago (2016-03-30 23:53:20 UTC) #4
palmer
> > I think this might break valid use cases. > > Yeah, that's what ...
4 years, 8 months ago (2016-04-01 18:55:49 UTC) #5
benwells
OK, done more safely now. This change looks large but it is mostly refactoring cruft.
4 years, 8 months ago (2016-04-14 01:27:58 UTC) #8
palmer
lgtm https://codereview.chromium.org/1843063002/diff/80001/components/url_formatter/elide_url.h File components/url_formatter/elide_url.h (right): https://codereview.chromium.org/1843063002/diff/80001/components/url_formatter/elide_url.h#newcode71 components/url_formatter/elide_url.h:71: // Generally, set prefer SchemeDisplay::SHOW to omitting the ...
4 years, 8 months ago (2016-04-15 00:53:29 UTC) #10
benwells
felt - do you wanna review any of this before I send to an uber ...
4 years, 8 months ago (2016-04-18 00:53:05 UTC) #12
felt
nice refactor, lgtm % comment https://codereview.chromium.org/1843063002/diff/100001/components/url_formatter/elide_url.h File components/url_formatter/elide_url.h (right): https://codereview.chromium.org/1843063002/diff/100001/components/url_formatter/elide_url.h#newcode54 components/url_formatter/elide_url.h:54: OMIT_CRYPTOGRAPHIC, nit: The meanings ...
4 years, 8 months ago (2016-04-18 01:16:26 UTC) #13
benwells
+thakis for chrome/ and ui/ +caitkp for components/app_modal and components/password_manager
4 years, 8 months ago (2016-04-18 04:00:06 UTC) #15
benwells
actually +thakis for chrome/ and ui/
4 years, 8 months ago (2016-04-18 04:00:36 UTC) #17
Cait (Slow)
components/ lgtm
4 years, 8 months ago (2016-04-19 15:05:55 UTC) #18
Nico
lgtm
4 years, 8 months ago (2016-04-19 15:11:16 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843063002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843063002/120001
4 years, 8 months ago (2016-04-19 21:53:45 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/162162) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
4 years, 8 months ago (2016-04-19 21:57:29 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1843063002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1843063002/140001
4 years, 8 months ago (2016-04-20 00:45:21 UTC) #27
commit-bot: I haz the power
Committed patchset #8 (id:140001)
4 years, 8 months ago (2016-04-20 01:54:02 UTC) #29
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:20:03 UTC) #31
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/2337b81057c1ac85098834ad75d250e7d87e6a39
Cr-Commit-Position: refs/heads/master@{#388404}

Powered by Google App Engine
This is Rietveld 408576698