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

Issue 1323143008: Remove CONTENT_SETTINGS_NUM_TYPES (part 5) (Closed)

Created:
5 years, 3 months ago by raymes
Modified:
5 years, 3 months ago
Reviewers:
palmer, calamity
CC:
chromium-reviews, darin-cc_chromium.org, markusheintz_, jam, raymes+watch_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@remove-num-types-enum-2
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove CONTENT_SETTINGS_NUM_TYPES (part 5) Remove the remaining occurences of CONTENT_SETTINGS_NUM_TYPES by replacing iterations over it with iterations over WebsiteSettingsRegistry. There is actually 1 occurence left (used to sanity-check IPCs) so the value has been renamed to CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE. This will be removed when ContentSettingsTypes is no longer an enum. BUG=526932 Committed: https://crrev.com/58fefc1677f4f8dfdf2d6451c42ca3684314388c Cr-Commit-Position: refs/heads/master@{#350308}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Messages

Total messages: 20 (8 generated)
raymes
5 years, 3 months ago (2015-09-08 00:48:02 UTC) #2
calamity
lgtm https://codereview.chromium.org/1323143008/diff/1/components/content_settings/core/browser/content_settings_pref_provider.cc File components/content_settings/core/browser/content_settings_pref_provider.cc (right): https://codereview.chromium.org/1323143008/diff/1/components/content_settings/core/browser/content_settings_pref_provider.cc#newcode121 components/content_settings/core/browser/content_settings_pref_provider.cc:121: ->second->GetRuleIterator(resource_identifier, incognito); Hmm. It's not totally obvious that ...
5 years, 3 months ago (2015-09-10 08:13:04 UTC) #3
raymes
https://codereview.chromium.org/1323143008/diff/1/components/content_settings/core/browser/content_settings_pref_provider.cc File components/content_settings/core/browser/content_settings_pref_provider.cc (right): https://codereview.chromium.org/1323143008/diff/1/components/content_settings/core/browser/content_settings_pref_provider.cc#newcode121 components/content_settings/core/browser/content_settings_pref_provider.cc:121: ->second->GetRuleIterator(resource_identifier, incognito); On 2015/09/10 08:13:04, calamity wrote: > Hmm. ...
5 years, 3 months ago (2015-09-21 07:50:44 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323143008/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323143008/40001
5 years, 3 months ago (2015-09-21 07:51:16 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_compile_dbg on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_compile_dbg/builds/62543) linux_chromium_rel_ng on ...
5 years, 3 months ago (2015-09-21 08:03:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323143008/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323143008/70001
5 years, 3 months ago (2015-09-22 01:31:36 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/102316)
5 years, 3 months ago (2015-09-22 01:42:00 UTC) #13
raymes
+palmer for components/content_settings/content/common/content_settings_messages.h
5 years, 3 months ago (2015-09-22 02:24:42 UTC) #15
palmer
lgtm
5 years, 3 months ago (2015-09-22 21:56:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1323143008/70001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1323143008/70001
5 years, 3 months ago (2015-09-23 01:37:37 UTC) #18
commit-bot: I haz the power
Committed patchset #5 (id:70001)
5 years, 3 months ago (2015-09-23 05:57:27 UTC) #19
commit-bot: I haz the power
5 years, 3 months ago (2015-09-23 05:58:03 UTC) #20
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/58fefc1677f4f8dfdf2d6451c42ca3684314388c
Cr-Commit-Position: refs/heads/master@{#350308}

Powered by Google App Engine
This is Rietveld 408576698