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

Issue 31043008: Changed platform verification user consent logic to be per-domain. (Closed)

Created:
7 years, 2 months ago by Darren Krahn
Modified:
7 years, 1 month ago
CC:
chromium-reviews, nkostylev+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, dkrahn+watch_chromium.org, DaleCurtis
Visibility:
Public.

Description

Changed platform verification user consent logic to be per-domain. The prefs:kEnableDRM switch will never be disabled by the new logic. Only the per-domain setting will be affected by user responses. Also changed the setting key to be a web origin instead of just a host. BUG=chromium:309939 TEST=unit, manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=232398

Patch Set 1 #

Total comments: 6

Patch Set 2 : new solution using content settings #

Total comments: 5

Patch Set 3 : #

Patch Set 4 : rebased #

Patch Set 5 : rebase #

Patch Set 6 : fix browser_tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+249 lines, -170 lines) Patch
M chrome/browser/chromeos/attestation/platform_verification_flow.h View 1 2 8 chunks +43 lines, -44 lines 0 comments Download
M chrome/browser/chromeos/attestation/platform_verification_flow.cc View 1 2 3 4 5 13 chunks +98 lines, -89 lines 0 comments Download
M chrome/browser/chromeos/attestation/platform_verification_flow_unittest.cc View 1 2 3 4 14 chunks +100 lines, -25 lines 0 comments Download
M chrome/browser/content_settings/content_settings_default_provider.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/content_settings/content_settings_utils.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 3 4 5 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/content_settings_types.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 1 2 3 4 5 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Darren Krahn
7 years, 2 months ago (2013-10-23 18:44:48 UTC) #1
Jun Mukai
https://codereview.chromium.org/31043008/diff/1/chrome/browser/chromeos/attestation/platform_verification_flow.cc File chrome/browser/chromeos/attestation/platform_verification_flow.cc (right): https://codereview.chromium.org/31043008/diff/1/chrome/browser/chromeos/attestation/platform_verification_flow.cc#newcode303 chrome/browser/chromeos/attestation/platform_verification_flow.cc:303: url = web_contents->GetLastCommittedURL(); nit: you don't need braces or ...
7 years, 2 months ago (2013-10-23 20:26:12 UTC) #2
pastarmovj
LGTM with a nit. https://codereview.chromium.org/31043008/diff/1/chrome/browser/chromeos/attestation/platform_verification_flow.cc File chrome/browser/chromeos/attestation/platform_verification_flow.cc (right): https://codereview.chromium.org/31043008/diff/1/chrome/browser/chromeos/attestation/platform_verification_flow.cc#newcode171 chrome/browser/chromeos/attestation/platform_verification_flow.cc:171: delegate_->ShowConsentPrompt(web_contents, nit: This should fit ...
7 years, 2 months ago (2013-10-24 09:56:35 UTC) #3
Darren Krahn
This CL has changed significantly - PTAL +jochen for *content_settings* https://chromiumcodereview.appspot.com/31043008/diff/1/chrome/browser/chromeos/attestation/platform_verification_flow.cc File chrome/browser/chromeos/attestation/platform_verification_flow.cc (right): https://chromiumcodereview.appspot.com/31043008/diff/1/chrome/browser/chromeos/attestation/platform_verification_flow.cc#newcode171 ...
7 years, 1 month ago (2013-10-28 23:49:51 UTC) #4
Jun Mukai
lgtm with nits. https://chromiumcodereview.appspot.com/31043008/diff/60001/chrome/browser/chromeos/attestation/platform_verification_flow.cc File chrome/browser/chromeos/attestation/platform_verification_flow.cc (right): https://chromiumcodereview.appspot.com/31043008/diff/60001/chrome/browser/chromeos/attestation/platform_verification_flow.cc#newcode304 chrome/browser/chromeos/attestation/platform_verification_flow.cc:304: return web_contents->GetVisibleURL(); Why is this condition ...
7 years, 1 month ago (2013-10-29 00:26:50 UTC) #5
pastarmovj
still lgtm
7 years, 1 month ago (2013-10-29 10:37:59 UTC) #6
jochen (gone - plz use gerrit)
content settings lgtm
7 years, 1 month ago (2013-10-29 14:15:32 UTC) #7
Darren Krahn
+dalecurtis - see question about committed URLs https://codereview.chromium.org/31043008/diff/60001/chrome/browser/chromeos/attestation/platform_verification_flow.cc File chrome/browser/chromeos/attestation/platform_verification_flow.cc (right): https://codereview.chromium.org/31043008/diff/60001/chrome/browser/chromeos/attestation/platform_verification_flow.cc#newcode304 chrome/browser/chromeos/attestation/platform_verification_flow.cc:304: return web_contents->GetVisibleURL(); ...
7 years, 1 month ago (2013-10-29 17:37:29 UTC) #8
Darren Krahn
On 2013/10/29 17:37:29, Darren Krahn wrote: > +dalecurtis - see question about committed URLs > ...
7 years, 1 month ago (2013-10-30 00:14:40 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@chromium.org/31043008/150001
7 years, 1 month ago (2013-10-30 00:23:49 UTC) #10
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=215395
7 years, 1 month ago (2013-10-30 04:12:07 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@chromium.org/31043008/150001
7 years, 1 month ago (2013-10-30 17:37:36 UTC) #12
DaleCurtis
https://codereview.chromium.org/31043008/diff/60001/chrome/browser/chromeos/attestation/platform_verification_flow.cc File chrome/browser/chromeos/attestation/platform_verification_flow.cc (right): https://codereview.chromium.org/31043008/diff/60001/chrome/browser/chromeos/attestation/platform_verification_flow.cc#newcode304 chrome/browser/chromeos/attestation/platform_verification_flow.cc:304: return web_contents->GetVisibleURL(); On 2013/10/29 17:37:30, Darren Krahn wrote: > ...
7 years, 1 month ago (2013-10-30 18:13:44 UTC) #13
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=169688
7 years, 1 month ago (2013-10-30 21:06:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@chromium.org/31043008/150001
7 years, 1 month ago (2013-10-30 21:16:29 UTC) #15
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/attestation/platform_verification_flow.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 1 month ago (2013-10-30 21:16:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@chromium.org/31043008/500001
7 years, 1 month ago (2013-10-30 23:16:43 UTC) #17
commit-bot: I haz the power
Sorry for I got bad news for ya. Compile failed with a clobber build on ...
7 years, 1 month ago (2013-10-31 01:01:01 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@chromium.org/31043008/770001
7 years, 1 month ago (2013-10-31 04:23:44 UTC) #19
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=216404
7 years, 1 month ago (2013-10-31 07:54:08 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@chromium.org/31043008/770001
7 years, 1 month ago (2013-10-31 17:14:37 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_chromeos for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chromeos&number=170262
7 years, 1 month ago (2013-10-31 20:43:26 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dkrahn@chromium.org/31043008/430002
7 years, 1 month ago (2013-11-01 05:09:51 UTC) #23
commit-bot: I haz the power
7 years, 1 month ago (2013-11-01 15:21:45 UTC) #24
Message was sent while issue was closed.
Change committed as 232398

Powered by Google App Engine
This is Rietveld 408576698