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

Issue 1554513002: Refactoring usage of GetWebSiteSetting() code for SetNarrowestContentSetting(). (Closed)

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

Description

While calling GetWebSettings() from SetNarrowestContentSetting(), we don't need to check content setting logic in GetWebsiteSetting(), instead we can call GetWebsiteSettingInternal() directly. BUG=572827 Committed: https://crrev.com/a93f6e900c8decc0d7e5fde7c8b868c42e93903c Cr-Commit-Position: refs/heads/master@{#367805}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 6

Patch Set 4 : Changes as per review comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M components/content_settings/core/browser/host_content_settings_map.cc View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
Deepak
PTAL
4 years, 11 months ago (2015-12-29 10:52:45 UTC) #5
raymes
Hey Deepak! I'm not entirely sure this CL is an improvement over the existing code. ...
4 years, 11 months ago (2016-01-04 00:00:40 UTC) #7
Deepak
PTAL https://codereview.chromium.org/1554513002/diff/40001/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/1554513002/diff/40001/components/content_settings/core/browser/host_content_settings_map.cc#newcode221 components/content_settings/core/browser/host_content_settings_map.cc:221: } On 2016/01/04 00:00:40, raymes wrote: > What's ...
4 years, 11 months ago (2016-01-04 07:43:44 UTC) #10
raymes
lgtm
4 years, 11 months ago (2016-01-06 08:14:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1554513002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1554513002/60001
4 years, 11 months ago (2016-01-06 08:22:41 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2016-01-06 10:00:42 UTC) #15
commit-bot: I haz the power
4 years, 11 months ago (2016-01-06 10:01:33 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/a93f6e900c8decc0d7e5fde7c8b868c42e93903c
Cr-Commit-Position: refs/heads/master@{#367805}

Powered by Google App Engine
This is Rietveld 408576698