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

Issue 1153873003: Add way for PermissionContext to be automatically restricted to secure origins. (Closed)

Created:
5 years, 7 months ago by mlamouri (slow - plz ping)
Modified:
5 years, 6 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, johnme+watch_chromium.org, markusheintz_, mcasas+watch_chromium.org, mvanouwerkerk+watch_chromium.org, Michael van Ouwerkerk, peter+watch_chromium.org, posciak+watch_chromium.org, toyoshim+midi_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@midi_permission_sysex
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add way for PermissionContext to be automatically restricted to secure origins. This is in order to generalize the fix in https://codereview.chromium.org/1146403004/ BUG=None Committed: https://crrev.com/a31c6ff16d3f932a4632eb8aec8af103df02f31f Cr-Commit-Position: refs/heads/master@{#332192}

Patch Set 1 #

Total comments: 11

Patch Set 2 : review comments #

Total comments: 1

Patch Set 3 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -43 lines) Patch
M chrome/browser/content_settings/permission_context_base.h View 1 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/permission_context_base.cc View 1 3 chunks +13 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/permission_context_base_unittest.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/media/midi_permission_context.h View 1 1 chunk +1 line, -11 lines 0 comments Download
M chrome/browser/media/midi_permission_context.cc View 1 3 chunks +4 lines, -32 lines 0 comments Download
M chrome/browser/media/protected_media_identifier_permission_context.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/media/protected_media_identifier_permission_context.cc View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_permission_context.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/push_messaging/push_messaging_permission_context.cc View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
mlamouri (slow - plz ping)
thakis@, please review this CL as OWNER miguelg@ and ddorwin@, FYI.
5 years, 7 months ago (2015-05-23 13:52:09 UTC) #2
Miguel Garcia
https://codereview.chromium.org/1153873003/diff/1/chrome/browser/content_settings/permission_context_base.h File chrome/browser/content_settings/permission_context_base.h (right): https://codereview.chromium.org/1153873003/diff/1/chrome/browser/content_settings/permission_context_base.h#newcode48 chrome/browser/content_settings/permission_context_base.h:48: // the permission from the omnibox. perhaps add here ...
5 years, 7 months ago (2015-05-26 09:34:34 UTC) #3
ddorwin
LGTM % comments. Thanks! https://codereview.chromium.org/1153873003/diff/1/chrome/browser/content_settings/permission_context_base.h File chrome/browser/content_settings/permission_context_base.h (right): https://codereview.chromium.org/1153873003/diff/1/chrome/browser/content_settings/permission_context_base.h#newcode127 chrome/browser/content_settings/permission_context_base.h:127: virtual bool RestrictToSecureOrigins() const = ...
5 years, 7 months ago (2015-05-26 17:31:31 UTC) #4
mlamouri (slow - plz ping)
miguelg@ and thakis@, PTAL. https://codereview.chromium.org/1153873003/diff/1/chrome/browser/content_settings/permission_context_base.h File chrome/browser/content_settings/permission_context_base.h (right): https://codereview.chromium.org/1153873003/diff/1/chrome/browser/content_settings/permission_context_base.h#newcode48 chrome/browser/content_settings/permission_context_base.h:48: // the permission from the ...
5 years, 6 months ago (2015-05-29 14:35:15 UTC) #5
Peter Beverloo
Push and notifications lgtm. https://codereview.chromium.org/1153873003/diff/20001/chrome/browser/media/protected_media_identifier_permission_context.cc File chrome/browser/media/protected_media_identifier_permission_context.cc (right): https://codereview.chromium.org/1153873003/diff/20001/chrome/browser/media/protected_media_identifier_permission_context.cc#newcode92 chrome/browser/media/protected_media_identifier_permission_context.cc:92: OnPlatformVerificationConsentponse, Unintentional change?
5 years, 6 months ago (2015-05-29 14:45:59 UTC) #7
mlamouri (slow - plz ping)
-thakis +jochen jochen@, could you have a look at the chrome/ changes?
5 years, 6 months ago (2015-06-01 12:34:43 UTC) #10
jochen (gone - plz use gerrit)
lgtm
5 years, 6 months ago (2015-06-01 13:36:19 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153873003/40001
5 years, 6 months ago (2015-06-01 13:57:52 UTC) #14
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 6 months ago (2015-06-01 15:40:58 UTC) #15
commit-bot: I haz the power
5 years, 6 months ago (2015-06-01 15:41:39 UTC) #16
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/a31c6ff16d3f932a4632eb8aec8af103df02f31f
Cr-Commit-Position: refs/heads/master@{#332192}

Powered by Google App Engine
This is Rietveld 408576698