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

Issue 1605453003: Ensure content settings aren't persisted in the guest profile (Closed)

Created:
4 years, 11 months ago by raymes
Modified:
4 years, 10 months ago
Reviewers:
msramek
CC:
chromium-reviews, markusheintz_, msramek+watch_chromium.org, raymes+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure content settings aren't persisted in the guest profile We used to incorrectly allow content settings to be persisted in the guest profile. This CL prevents them from being persisted and ensures that any existing settings are deleted. BUG=578130 TBR=asanka@chromium.org,bzanotti@chromium.org,droger@chromium.org Committed: https://crrev.com/7963c649f581bcb3528670e4d91afe5ba5413e4d Cr-Commit-Position: refs/heads/master@{#371992}

Patch Set 1 #

Patch Set 2 : #

Total comments: 7

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 9

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+144 lines, -37 lines) Patch
M chrome/browser/content_settings/content_settings_default_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_factory.cc View 1 chunk +5 lines, -4 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_unittest.cc View 1 2 3 4 5 6 7 1 chunk +72 lines, -0 lines 0 comments Download
M chrome/browser/download/download_request_limiter_unittest.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M components/content_settings/core/browser/content_settings_default_provider.cc View 1 2 3 4 5 6 7 8 9 1 chunk +5 lines, -4 lines 0 comments Download
M components/content_settings/core/browser/content_settings_pref.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/content_settings/core/browser/content_settings_pref.cc View 1 chunk +19 lines, -14 lines 0 comments Download
M components/content_settings/core/browser/content_settings_pref_provider.h View 1 chunk +2 lines, -0 lines 0 comments Download
M components/content_settings/core/browser/content_settings_pref_provider.cc View 1 chunk +8 lines, -0 lines 0 comments Download
M components/content_settings/core/browser/cookie_settings_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M components/content_settings/core/browser/host_content_settings_map.h View 1 2 3 4 5 6 7 8 1 chunk +5 lines, -2 lines 0 comments Download
M components/content_settings/core/browser/host_content_settings_map.cc View 1 2 3 4 5 6 7 2 chunks +15 lines, -7 lines 0 comments Download
M components/signin/ios/browser/account_consistency_service_unittest.mm View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M ios/chrome/browser/content_settings/host_content_settings_map_factory.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 52 (25 generated)
raymes
4 years, 11 months ago (2016-01-19 03:19:38 UTC) #2
msramek
https://codereview.chromium.org/1605453003/diff/20001/chrome/browser/content_settings/host_content_settings_map_unittest.cc File chrome/browser/content_settings/host_content_settings_map_unittest.cc (right): https://codereview.chromium.org/1605453003/diff/20001/chrome/browser/content_settings/host_content_settings_map_unittest.cc#newcode1165 chrome/browser/content_settings/host_content_settings_map_unittest.cc:1165: Following the comment in host_content_settings_map.cc - please test that ...
4 years, 11 months ago (2016-01-19 13:35:08 UTC) #5
raymes
Thanks Martin! https://codereview.chromium.org/1605453003/diff/20001/chrome/browser/content_settings/host_content_settings_map_unittest.cc File chrome/browser/content_settings/host_content_settings_map_unittest.cc (right): https://codereview.chromium.org/1605453003/diff/20001/chrome/browser/content_settings/host_content_settings_map_unittest.cc#newcode1165 chrome/browser/content_settings/host_content_settings_map_unittest.cc:1165: Agreed. This seems like a reasonable solution ...
4 years, 11 months ago (2016-01-19 23:31:39 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/40001
4 years, 11 months ago (2016-01-19 23:34:24 UTC) #8
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/118943) ios_rel_device_ninja on ...
4 years, 11 months ago (2016-01-19 23:49:35 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/60001
4 years, 11 months ago (2016-01-20 00:20:03 UTC) #12
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/118968) ios_rel_device_ninja on ...
4 years, 11 months ago (2016-01-20 00:38:19 UTC) #14
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/80001
4 years, 11 months ago (2016-01-20 02:06:57 UTC) #16
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/100001
4 years, 11 months ago (2016-01-20 02:13:44 UTC) #18
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_daisy_chromium_compile_only_ng/builds/81587) chromeos_x86-generic_chromium_compile_only_ng on ...
4 years, 11 months ago (2016-01-20 02:38:57 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/100001
4 years, 11 months ago (2016-01-20 03:03:58 UTC) #22
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_x64_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/156309)
4 years, 11 months ago (2016-01-20 03:31:39 UTC) #24
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/120001
4 years, 11 months ago (2016-01-20 03:51:55 UTC) #26
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/133567)
4 years, 11 months ago (2016-01-20 04:20:57 UTC) #28
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/120001
4 years, 11 months ago (2016-01-20 06:27:31 UTC) #30
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2016-01-20 08:43:40 UTC) #32
msramek
LGTM % mostly nits. Thanks a lot for fixing this! https://codereview.chromium.org/1605453003/diff/20001/components/content_settings/core/browser/host_content_settings_map.cc File components/content_settings/core/browser/host_content_settings_map.cc (right): https://codereview.chromium.org/1605453003/diff/20001/components/content_settings/core/browser/host_content_settings_map.cc#newcode122 ...
4 years, 11 months ago (2016-01-20 11:01:46 UTC) #33
raymes
Thanks Martin! Please see the note about the NOTREACHED. https://codereview.chromium.org/1605453003/diff/120001/chrome/browser/content_settings/host_content_settings_map_unittest.cc File chrome/browser/content_settings/host_content_settings_map_unittest.cc (right): https://codereview.chromium.org/1605453003/diff/120001/chrome/browser/content_settings/host_content_settings_map_unittest.cc#newcode1204 chrome/browser/content_settings/host_content_settings_map_unittest.cc:1204: ...
4 years, 11 months ago (2016-01-20 22:55:42 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/160001
4 years, 11 months ago (2016-01-20 22:57:18 UTC) #36
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/104651) linux_chromium_chromeos_rel_ng on ...
4 years, 11 months ago (2016-01-20 23:45:59 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/180001
4 years, 11 months ago (2016-01-21 02:01:04 UTC) #40
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/155180)
4 years, 11 months ago (2016-01-21 02:47:06 UTC) #42
msramek
Still LGTM. https://codereview.chromium.org/1605453003/diff/120001/components/content_settings/core/browser/host_content_settings_map.cc File components/content_settings/core/browser/host_content_settings_map.cc (right): https://codereview.chromium.org/1605453003/diff/120001/components/content_settings/core/browser/host_content_settings_map.cc#newcode322 components/content_settings/core/browser/host_content_settings_map.cc:322: ignore_result(value.release()); On 2016/01/20 22:55:42, raymes wrote: > ...
4 years, 11 months ago (2016-01-21 10:37:30 UTC) #43
raymes
TBR owners for API changes: asanka@chromium.org - chrome/browser/download/download_request_limiter_unittest.cc bzanotti@chromium.org - components/signin/ios/browser/account_consistency_service_unittest.mm droger@chromium.org - ios/chrome/browser/content_settings/host_content_settings_map_factory.cc
4 years, 10 months ago (2016-01-28 02:28:34 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1605453003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1605453003/200001
4 years, 10 months ago (2016-01-28 02:29:25 UTC) #48
commit-bot: I haz the power
Committed patchset #11 (id:200001)
4 years, 10 months ago (2016-01-28 03:28:28 UTC) #50
commit-bot: I haz the power
4 years, 10 months ago (2016-01-28 03:29:20 UTC) #52
Message was sent while issue was closed.
Patchset 11 (id:??) landed as
https://crrev.com/7963c649f581bcb3528670e4d91afe5ba5413e4d
Cr-Commit-Position: refs/heads/master@{#371992}

Powered by Google App Engine
This is Rietveld 408576698