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

Issue 1902703002: Only Register() desktop-only content settings types on desktop platforms (Closed)

Created:
4 years, 8 months ago by raymes
Modified:
4 years, 6 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

Only Register() desktop-only content settings types on desktop platforms Some content settings are only used on desktop platforms. We shouldn't register these types on android, so that we don't create unused prefs for them and more importantly so that we don't sync settings to android which would go unused but be a potential privacy concern. An alternative would be to if-def out these settings on android, but the types are prevalent enough in shared code that this creates a bit of a mess at present. After more refactoring we may be able to if-def these out without that concern. BUG=604632

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -49 lines) Patch
M components/content_settings/core/browser/content_settings_registry.h View 1 chunk +13 lines, -0 lines 0 comments Download
M components/content_settings/core/browser/content_settings_registry.cc View 6 chunks +65 lines, -49 lines 4 comments Download

Messages

Total messages: 10 (4 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1902703002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1902703002/1
4 years, 8 months ago (2016-04-19 07:36:45 UTC) #2
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/56069)
4 years, 8 months ago (2016-04-19 11:28:05 UTC) #4
msramek
Thanks, Raymes. I left some comments. In the meantime, let me also double-check that this ...
4 years, 7 months ago (2016-05-17 18:58:27 UTC) #6
msramek
https://codereview.chromium.org/1902703002/diff/1/components/content_settings/core/browser/content_settings_registry.cc File components/content_settings/core/browser/content_settings_registry.cc (right): https://codereview.chromium.org/1902703002/diff/1/components/content_settings/core/browser/content_settings_registry.cc#newcode337 components/content_settings/core/browser/content_settings_registry.cc:337: #if !defined(OS_ANDROID) On 2016/05/17 18:58:27, msramek wrote: > Hmm, ...
4 years, 7 months ago (2016-05-17 19:12:11 UTC) #7
msramek
Can we close this, since it was superseded by lshang@'s work?
4 years, 6 months ago (2016-06-22 11:11:20 UTC) #8
raymes
4 years, 6 months ago (2016-06-23 00:16:27 UTC) #10
Message was sent while issue was closed.
Yes!

On Wed, 22 Jun 2016 at 21:11 <msramek@chromium.org> wrote:

> Can we close this, since it was superseded by lshang@'s work?
>
> https://codereview.chromium.org/1902703002/
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698