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

Issue 802593003: Implement unlimitedStorage content capability (Closed)

Created:
6 years ago by Ken Rockot(use gerrit already)
Modified:
6 years ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement unlimitedStorage content capability This turns on functional support for the unlimitedStorage content_capabilities grant. BUG=409272 R=kalman@chromium.org Committed: https://crrev.com/d3af38a5d2588854cbeeb7f02f6411965a161e6e Cr-Commit-Position: refs/heads/master@{#308192}

Patch Set 1 #

Total comments: 8

Patch Set 2 : cleanup, moar test #

Total comments: 5

Patch Set 3 : lockness #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+140 lines, -50 lines) Patch
M chrome/browser/extensions/content_capabilities_browsertest.cc View 1 7 chunks +93 lines, -26 lines 0 comments Download
M chrome/browser/extensions/extension_special_storage_policy.h View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_special_storage_policy.cc View 1 2 7 chunks +45 lines, -24 lines 1 comment Download

Messages

Total messages: 12 (1 generated)
Ken Rockot(use gerrit already)
The storage policy code seems kinda ugly to me, but I tried to avoid the ...
6 years ago (2014-12-12 02:11:45 UTC) #1
not at google - send to devlin
https://codereview.chromium.org/802593003/diff/1/chrome/browser/extensions/extension_special_storage_policy.cc File chrome/browser/extensions/extension_special_storage_policy.cc (right): https://codereview.chromium.org/802593003/diff/1/chrome/browser/extensions/extension_special_storage_policy.cc#newcode159 chrome/browser/extensions/extension_special_storage_policy.cc:159: if (extensions::ContentCapabilitiesInfo::Get(extension).permissions.count( Am I missing something; what guarantees the ...
6 years ago (2014-12-12 16:33:40 UTC) #2
Ken Rockot(use gerrit already)
https://codereview.chromium.org/802593003/diff/1/chrome/browser/extensions/extension_special_storage_policy.cc File chrome/browser/extensions/extension_special_storage_policy.cc (right): https://codereview.chromium.org/802593003/diff/1/chrome/browser/extensions/extension_special_storage_policy.cc#newcode159 chrome/browser/extensions/extension_special_storage_policy.cc:159: if (extensions::ContentCapabilitiesInfo::Get(extension).permissions.count( On 2014/12/12 16:33:40, kalman wrote: > Am ...
6 years ago (2014-12-12 16:39:08 UTC) #3
not at google - send to devlin
lgtm https://codereview.chromium.org/802593003/diff/1/chrome/browser/extensions/extension_special_storage_policy.cc File chrome/browser/extensions/extension_special_storage_policy.cc (right): https://codereview.chromium.org/802593003/diff/1/chrome/browser/extensions/extension_special_storage_policy.cc#newcode159 chrome/browser/extensions/extension_special_storage_policy.cc:159: if (extensions::ContentCapabilitiesInfo::Get(extension).permissions.count( On 2014/12/12 16:39:07, Ken Rockot wrote: ...
6 years ago (2014-12-12 17:35:40 UTC) #4
Ken Rockot(use gerrit already)
https://codereview.chromium.org/802593003/diff/1/chrome/browser/extensions/extension_special_storage_policy.cc File chrome/browser/extensions/extension_special_storage_policy.cc (right): https://codereview.chromium.org/802593003/diff/1/chrome/browser/extensions/extension_special_storage_policy.cc#newcode159 chrome/browser/extensions/extension_special_storage_policy.cc:159: if (extensions::ContentCapabilitiesInfo::Get(extension).permissions.count( On 2014/12/12 17:35:39, kalman wrote: > On ...
6 years ago (2014-12-12 20:51:13 UTC) #5
not at google - send to devlin
The whole thread safety thing is suspect to me anyway. I don't know why you ...
6 years ago (2014-12-12 21:03:06 UTC) #6
Ken Rockot(use gerrit already)
https://codereview.chromium.org/802593003/diff/20001/chrome/browser/extensions/extension_special_storage_policy.cc File chrome/browser/extensions/extension_special_storage_policy.cc (right): https://codereview.chromium.org/802593003/diff/20001/chrome/browser/extensions/extension_special_storage_policy.cc#newcode172 chrome/browser/extensions/extension_special_storage_policy.cc:172: extension->is_app()) { On 2014/12/12 21:03:06, kalman wrote: > Bleh, ...
6 years ago (2014-12-12 21:10:18 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/802593003/40001
6 years ago (2014-12-12 21:42:28 UTC) #9
not at google - send to devlin
https://codereview.chromium.org/802593003/diff/40001/chrome/browser/extensions/extension_special_storage_policy.cc File chrome/browser/extensions/extension_special_storage_policy.cc (right): https://codereview.chromium.org/802593003/diff/40001/chrome/browser/extensions/extension_special_storage_policy.cc#newcode173 chrome/browser/extensions/extension_special_storage_policy.cc:173: extension->is_app()) { (note that with the locking change I'm ...
6 years ago (2014-12-12 23:10:13 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
6 years ago (2014-12-12 23:23:14 UTC) #11
commit-bot: I haz the power
6 years ago (2014-12-12 23:24:02 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/d3af38a5d2588854cbeeb7f02f6411965a161e6e
Cr-Commit-Position: refs/heads/master@{#308192}

Powered by Google App Engine
This is Rietveld 408576698