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

Issue 1819773002: Use GURLs instead of patterns for SetContentSetting() in WebsitePreferenceBridge (Closed)

Created:
4 years, 9 months ago by lshang
Modified:
4 years, 8 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tsergeant
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Use GURLs instead of patterns for SetContentSetting() in WebsitePreferenceBridge Migrate SetContentSetting() in WebsitePreferenceBridge to take GURLs instead of patterns. BUG=551747 Committed: https://crrev.com/f85700f54fe76ffb38e40629d9b8109745fe3c33 Cr-Commit-Position: refs/heads/master@{#385121}

Patch Set 1 #

Patch Set 2 : fix bug #

Total comments: 7

Patch Set 3 : address review comments #

Patch Set 4 : migrate old formatted settings for keygen #

Patch Set 5 : add guard for null embedder, remove unused params #

Patch Set 6 : rebase #

Messages

Total messages: 30 (13 generated)
lshang
Hi Raymes, PTAL thanks! One thing needs to be noticed is that for keygen it's ...
4 years, 9 months ago (2016-03-21 23:36:20 UTC) #3
raymes
lgtm
4 years, 9 months ago (2016-03-22 06:00:47 UTC) #4
lshang
PTAL thanks!
4 years, 9 months ago (2016-03-22 06:45:26 UTC) #6
Bernhard Bauer
On 2016/03/21 23:36:20, Liu Shang wrote: > Hi Raymes, PTAL thanks! > > One thing ...
4 years, 9 months ago (2016-03-22 10:17:34 UTC) #7
Bernhard Bauer
Grr, actually +rsleevi this time
4 years, 9 months ago (2016-03-22 10:18:06 UTC) #9
Ryan Sleevi
svaldez added it - punting to him.
4 years, 9 months ago (2016-03-22 15:51:06 UTC) #11
svaldez
Not entirely sure why its NULL here. But it should be fine to migrate to ...
4 years, 9 months ago (2016-03-22 16:05:24 UTC) #12
Bernhard Bauer
https://codereview.chromium.org/1819773002/diff/20001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/1819773002/diff/20001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode228 chrome/browser/android/preferences/website_preference_bridge.cc:228: SetSettingForOrigin(env, CONTENT_SETTINGS_TYPE_KEYGEN, origin, NULL, On 2016/03/22 16:05:24, svaldez wrote: ...
4 years, 9 months ago (2016-03-22 16:11:58 UTC) #13
lshang
svaldez@, bauerb@, thanks for your review! Can you take a look again? https://codereview.chromium.org/1819773002/diff/20001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc ...
4 years, 9 months ago (2016-03-23 01:46:12 UTC) #14
lshang
On 2016/03/23 01:46:12, Liu Shang wrote: > svaldez@, bauerb@, thanks for your review! Can you ...
4 years, 9 months ago (2016-03-23 13:57:26 UTC) #19
Bernhard Bauer
https://codereview.chromium.org/1819773002/diff/20001/chrome/browser/android/preferences/website_preference_bridge.cc File chrome/browser/android/preferences/website_preference_bridge.cc (right): https://codereview.chromium.org/1819773002/diff/20001/chrome/browser/android/preferences/website_preference_bridge.cc#newcode228 chrome/browser/android/preferences/website_preference_bridge.cc:228: SetSettingForOrigin(env, CONTENT_SETTINGS_TYPE_KEYGEN, origin, NULL, On 2016/03/23 01:46:12, Liu Shang ...
4 years, 9 months ago (2016-03-23 14:12:15 UTC) #20
svaldez
Migration code and keygen-specific bits lgtm.
4 years, 9 months ago (2016-03-23 14:41:53 UTC) #21
lshang
> The biggest issue I have with nullptr specifically is that the argument will be ...
4 years, 9 months ago (2016-03-24 00:19:36 UTC) #22
Bernhard Bauer
Thanks! LGTM affirmed :) On 2016/03/24 00:19:36, Liu Shang wrote: > > The biggest issue ...
4 years, 9 months ago (2016-03-24 09:30:33 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1819773002/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1819773002/180001
4 years, 8 months ago (2016-04-05 07:30:37 UTC) #26
commit-bot: I haz the power
Committed patchset #6 (id:180001)
4 years, 8 months ago (2016-04-05 07:38:05 UTC) #28
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 07:39:32 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/f85700f54fe76ffb38e40629d9b8109745fe3c33
Cr-Commit-Position: refs/heads/master@{#385121}

Powered by Google App Engine
This is Rietveld 408576698