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

Issue 2428433002: Delete fullscreen/mouselock pref data. (Closed)

Created:
4 years, 2 months ago by Matt Giuca
Modified:
4 years, 1 month ago
Reviewers:
stevenjb, raymes
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Delete fullscreen/mouselock pref data. This deletes the default and per-site exceptions for fullscreen and mouse lock settings on startup. These have not been used for some time, but the settings have still been around (and visible in the settings UI). This deletes the data, as it is no longer being used. Note: The content settings page still allows these to be viewed and edited, though they will be cleared on startup each time. A follow-up CL will delete the UI since it is now useless. The UI could not be deleted before this because otherwise there would be no way for the user to see what data we are storing. BUG=591896 Committed: https://crrev.com/cc83d0f2fbe5aa2e75c3861d626f4b6a0b65cbb6 Cr-Commit-Position: refs/heads/master@{#428936}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix test behaviour and expectations. #

Patch Set 3 : Discard prefs before init (raymes). #

Patch Set 4 : Fix test by avoiding JS update calls. #

Total comments: 3

Patch Set 5 : Added TODO. #

Patch Set 6 : Don't attempt to discard on iOS (fix crash). #

Patch Set 7 : Fix crash on Android. #

Patch Set 8 : Further fixes to Android tests. #

Total comments: 2

Patch Set 9 : Rebase. #

Messages

Total messages: 43 (25 generated)
Matt Giuca
4 years, 2 months ago (2016-10-21 05:32:52 UTC) #3
raymes
lgtm https://codereview.chromium.org/2428433002/diff/1/components/content_settings/core/browser/content_settings_pref_provider.cc File components/content_settings/core/browser/content_settings_pref_provider.cc (right): https://codereview.chromium.org/2428433002/diff/1/components/content_settings/core/browser/content_settings_pref_provider.cc#newcode104 components/content_settings/core/browser/content_settings_pref_provider.cc:104: DiscardObsoletePreferences(); It may be better to put this ...
4 years, 2 months ago (2016-10-24 02:18:44 UTC) #4
Matt Giuca
PTAL; I had to update the tests (I previously tested them *after* deleting the content ...
4 years, 1 month ago (2016-10-24 23:20:27 UTC) #5
raymes
lgtm
4 years, 1 month ago (2016-10-25 02:06:15 UTC) #6
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/2428433002/60001
4 years, 1 month ago (2016-10-25 02:28:46 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/93552)
4 years, 1 month ago (2016-10-25 02:39:43 UTC) #10
Matt Giuca
https://codereview.chromium.org/2428433002/diff/80001/chrome/browser/ui/webui/settings/site_settings_handler.cc File chrome/browser/ui/webui/settings/site_settings_handler.cc (right): https://codereview.chromium.org/2428433002/diff/80001/chrome/browser/ui/webui/settings/site_settings_handler.cc#newcode227 chrome/browser/ui/webui/settings/site_settings_handler.cc:227: // These content types are deprecated and should not ...
4 years, 1 month ago (2016-10-26 04:18:24 UTC) #12
Matt Giuca
(+stevenjb for just that file site_settings_handler.cc)
4 years, 1 month ago (2016-10-26 04:18:39 UTC) #13
stevenjb
lgtm w/ TODO added https://codereview.chromium.org/2428433002/diff/80001/chrome/browser/ui/webui/settings/site_settings_handler.cc File chrome/browser/ui/webui/settings/site_settings_handler.cc (right): https://codereview.chromium.org/2428433002/diff/80001/chrome/browser/ui/webui/settings/site_settings_handler.cc#newcode227 chrome/browser/ui/webui/settings/site_settings_handler.cc:227: // These content types are ...
4 years, 1 month ago (2016-10-26 19:31:00 UTC) #14
Matt Giuca
https://codereview.chromium.org/2428433002/diff/80001/chrome/browser/ui/webui/settings/site_settings_handler.cc File chrome/browser/ui/webui/settings/site_settings_handler.cc (right): https://codereview.chromium.org/2428433002/diff/80001/chrome/browser/ui/webui/settings/site_settings_handler.cc#newcode227 chrome/browser/ui/webui/settings/site_settings_handler.cc:227: // These content types are deprecated and should not ...
4 years, 1 month ago (2016-10-26 23:26:47 UTC) #15
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/2428433002/100001
4 years, 1 month ago (2016-10-26 23:27:22 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/95250)
4 years, 1 month ago (2016-10-26 23:38:46 UTC) #20
Matt Giuca
raymes: I forgot to send this earlier. Can you PTAL at the delta between PS ...
4 years, 1 month ago (2016-11-01 02:01:32 UTC) #35
raymes
lgtm https://codereview.chromium.org/2428433002/diff/200001/components/content_settings/core/browser/content_settings_default_provider.cc File components/content_settings/core/browser/content_settings_default_provider.cc (right): https://codereview.chromium.org/2428433002/diff/200001/components/content_settings/core/browser/content_settings_default_provider.cc#newcode36 components/content_settings/core/browser/content_settings_default_provider.cc:36: "profile.default_content_setting_values.fullscreen"; Would it help slightly to move these ...
4 years, 1 month ago (2016-11-01 03:06:14 UTC) #36
Matt Giuca
https://codereview.chromium.org/2428433002/diff/200001/components/content_settings/core/browser/content_settings_default_provider.cc File components/content_settings/core/browser/content_settings_default_provider.cc (right): https://codereview.chromium.org/2428433002/diff/200001/components/content_settings/core/browser/content_settings_default_provider.cc#newcode36 components/content_settings/core/browser/content_settings_default_provider.cc:36: "profile.default_content_setting_values.fullscreen"; On 2016/11/01 03:06:14, raymes wrote: > Would it ...
4 years, 1 month ago (2016-11-01 03:56:36 UTC) #37
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/2428433002/220001
4 years, 1 month ago (2016-11-01 03:56:57 UTC) #40
commit-bot: I haz the power
Committed patchset #9 (id:220001)
4 years, 1 month ago (2016-11-01 04:37:35 UTC) #41
commit-bot: I haz the power
4 years, 1 month ago (2016-11-01 04:39:19 UTC) #43
Message was sent while issue was closed.
Patchset 9 (id:??) landed as
https://crrev.com/cc83d0f2fbe5aa2e75c3861d626f4b6a0b65cbb6
Cr-Commit-Position: refs/heads/master@{#428936}

Powered by Google App Engine
This is Rietveld 408576698