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

Issue 2777183010: [Quota] Lower quota for ephemeral mode (ie. session only) (Closed)

Created:
3 years, 8 months ago by michaeln
Modified:
3 years, 8 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

[Quota] Lower quota for ephemeral mode (ie. session only) The data for session only origins is ephemeral, it gets deleted at the end of each browsing session. This change lowers the storage quota allotted to them. BUG=619927 Review-Url: https://codereview.chromium.org/2777183010 Cr-Commit-Position: refs/heads/master@{#463501} Committed: https://chromium.googlesource.com/chromium/src/+/fa4c8940a8d8d6a84c60bc1f108b1d6a86ef3437

Patch Set 1 #

Patch Set 2 : compile #

Patch Set 3 : ctor #

Patch Set 4 : randomize #

Total comments: 12

Patch Set 5 : comments #

Patch Set 6 : unit test #

Total comments: 6

Patch Set 7 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+63 lines, -6 lines) Patch
M content/browser/quota/quota_manager_unittest.cc View 1 2 3 4 5 6 2 chunks +15 lines, -0 lines 0 comments Download
M storage/browser/quota/quota_manager.cc View 1 2 3 4 5 chunks +12 lines, -4 lines 0 comments Download
M storage/browser/quota/quota_settings.h View 1 2 3 4 2 chunks +5 lines, -0 lines 0 comments Download
M storage/browser/quota/quota_settings.cc View 1 2 3 4 5 6 4 chunks +31 lines, -2 lines 0 comments Download

Messages

Total messages: 39 (25 generated)
michaeln
ptal, also see the comments in the bug, they mention a concern that chris had ...
3 years, 8 months ago (2017-04-04 01:25:02 UTC) #10
jsbell
Initial nits We should probably loop in someone more authoritative about ephemeral/session-only mode for guidance. ...
3 years, 8 months ago (2017-04-04 16:23:57 UTC) #13
cmumford
https://codereview.chromium.org/2777183010/diff/60001/storage/browser/quota/quota_manager.cc File storage/browser/quota/quota_manager.cc (right): https://codereview.chromium.org/2777183010/diff/60001/storage/browser/quota/quota_manager.cc#newcode850 storage/browser/quota/quota_manager.cc:850: bool is_session_only = special_storage_policy_.get() && Nit: scoped_refptr has: explicit ...
3 years, 8 months ago (2017-04-04 16:38:31 UTC) #14
michaeln
https://codereview.chromium.org/2777183010/diff/60001/storage/browser/quota/quota_manager.cc File storage/browser/quota/quota_manager.cc (right): https://codereview.chromium.org/2777183010/diff/60001/storage/browser/quota/quota_manager.cc#newcode850 storage/browser/quota/quota_manager.cc:850: bool is_session_only = special_storage_policy_.get() && On 2017/04/04 16:38:29, cmumford ...
3 years, 8 months ago (2017-04-05 01:20:56 UTC) #17
jsbell
+tnagel who weighed in on the bug and may have more context about Enterprise use ...
3 years, 8 months ago (2017-04-07 16:45:51 UTC) #21
michaeln
I think the code for this is ready modulo maybe enterprise ephemeral mode which i'm ...
3 years, 8 months ago (2017-04-07 20:16:59 UTC) #24
jsbell
lgtm https://codereview.chromium.org/2777183010/diff/100001/storage/browser/quota/quota_settings.cc File storage/browser/quota/quota_settings.cc (right): https://codereview.chromium.org/2777183010/diff/100001/storage/browser/quota/quota_settings.cc#newcode23 storage/browser/quota/quota_settings.cc:23: double random_percent = (base::RandDouble() - 0.5) * percent; ...
3 years, 8 months ago (2017-04-07 23:48:58 UTC) #27
Thiemo Nagel
> I think the code for this is ready modulo maybe enterprise ephemeral mode which ...
3 years, 8 months ago (2017-04-10 09:41:37 UTC) #28
michaeln
In managed environments, can the administrator prescribe content settings too? If so, then I'd say ...
3 years, 8 months ago (2017-04-10 23:15:35 UTC) #29
michaeln
@Thiemo, the code tells the the storage layer how to treat an origins data is ...
3 years, 8 months ago (2017-04-11 01:04:49 UTC) #30
michaeln
https://codereview.chromium.org/2777183010/diff/100001/storage/browser/quota/quota_settings.cc File storage/browser/quota/quota_settings.cc (right): https://codereview.chromium.org/2777183010/diff/100001/storage/browser/quota/quota_settings.cc#newcode23 storage/browser/quota/quota_settings.cc:23: double random_percent = (base::RandDouble() - 0.5) * percent; On ...
3 years, 8 months ago (2017-04-11 01:06:07 UTC) #31
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/2777183010/120001
3 years, 8 months ago (2017-04-11 01:06:56 UTC) #34
commit-bot: I haz the power
Committed patchset #7 (id:120001) as https://chromium.googlesource.com/chromium/src/+/fa4c8940a8d8d6a84c60bc1f108b1d6a86ef3437
3 years, 8 months ago (2017-04-11 02:41:35 UTC) #38
findit-for-me
3 years, 8 months ago (2017-04-11 05:03:20 UTC) #39
Message was sent while issue was closed.
Findit identified this CL at revision 463501 as the culprit for
failures in the build cycles as shown on:
https://findit-for-me.appspot.com/waterfall/culprit?key=ag9zfmZpbmRpdC1mb3Itb...

Powered by Google App Engine
This is Rietveld 408576698