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

Issue 797993002: Remove kInstantProcess from renderer ContentSettingsObserver (Closed)

Created:
6 years ago by vabr (Chromium)
Modified:
6 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove kInstantProcess from renderer ContentSettingsObserver The kInstantProcess flag was used to check if the current frame belongs to instant and should be whitelisted. This would cause layering troubles once ContentSettingsObserver is componentised. Instead, this CL moves the check back to the construction of the observer, in ChromeContentRendererClient, and only records the Boolean flag for whitelisting in the observer. BUG=384874 Committed: https://crrev.com/f0e8e830f238eefdf702a481308ce9661cda7b75 Cr-Commit-Position: refs/heads/master@{#308106}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Comments addressed #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -18 lines) Patch
M chrome/renderer/chrome_content_renderer_client.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/renderer/content_settings_observer.h View 1 3 chunks +10 lines, -3 lines 0 comments Download
M chrome/renderer/content_settings_observer.cc View 7 chunks +11 lines, -12 lines 0 comments Download
M chrome/renderer/content_settings_observer_browsertest.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (2 generated)
vabr (Chromium)
Hi Jochen, This implements your recommendation. PTAL! Vaclav
6 years ago (2014-12-12 14:55:47 UTC) #2
jochen (gone - plz use gerrit)
lgtm with a less generic name than should_whitelist https://codereview.chromium.org/797993002/diff/1/chrome/renderer/chrome_content_renderer_client.cc File chrome/renderer/chrome_content_renderer_client.cc (right): https://codereview.chromium.org/797993002/diff/1/chrome/renderer/chrome_content_renderer_client.cc#newcode447 chrome/renderer/chrome_content_renderer_client.cc:447: bool ...
6 years ago (2014-12-12 14:58:20 UTC) #3
vabr (Chromium)
Thanks, Jochen! Comments addressed, I'll send this to the CQ soon. Vaclav
6 years ago (2014-12-12 16:02:40 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/797993002/20001
6 years ago (2014-12-12 16:04:53 UTC) #6
commit-bot: I haz the power
Committed patchset #2 (id:20001)
6 years ago (2014-12-12 17:10:42 UTC) #7
commit-bot: I haz the power
6 years ago (2014-12-12 17:11:23 UTC) #8
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/f0e8e830f238eefdf702a481308ce9661cda7b75
Cr-Commit-Position: refs/heads/master@{#308106}

Powered by Google App Engine
This is Rietveld 408576698