Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(181)

Issue 7218073: Explicitly ShutdownOnUIThread the HostContentSettingsMap when destroying the Profile. (Closed)

Created:
9 years, 5 months ago by Bernhard Bauer
Modified:
9 years, 5 months ago
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, Paweł Hajdan Jr., brettw-cc_chromium.org, jochen (gone - plz use gerrit)
Visibility:
Public.

Description

Explicitly ShutdownOnUIThread the HostContentSettingsMap when destroying the Profile. Also, get rid of Profile dependencies while we're at it. BUG=88037, 88557 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=92128

Patch Set 1 #

Patch Set 2 : sync #

Patch Set 3 : fix #

Patch Set 4 : stuff #

Patch Set 5 : fix #

Patch Set 6 : fix lotsa stuff #

Patch Set 7 : fix unit test #

Patch Set 8 : sync; stuff #

Patch Set 9 : sync #

Total comments: 3

Patch Set 10 : fix stuff #

Patch Set 11 : sync #

Patch Set 12 : fix & cleanup #

Patch Set 13 : remove suppressions #

Patch Set 14 : review #

Total comments: 6

Patch Set 15 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+347 lines, -395 lines) Patch
M base/values.h View 2 chunks +2 lines, -0 lines 0 comments Download
M base/values.cc View 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_mock_provider.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_mock_provider.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_notification_provider.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_notification_provider.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 7 chunks +15 lines, -20 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 11 chunks +45 lines, -66 lines 0 comments Download
M chrome/browser/content_settings/content_settings_policy_provider_unittest.cc View 1 2 3 4 5 6 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +23 lines, -21 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 27 chunks +102 lines, -130 lines 0 comments Download
M chrome/browser/content_settings/content_settings_pref_provider_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 12 chunks +54 lines, -50 lines 0 comments Download
M chrome/browser/content_settings/content_settings_provider.h View 1 2 3 4 5 6 7 8 9 10 3 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/content_settings/content_settings_provider_unittest.cc View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +9 lines, -11 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +40 lines, -43 lines 0 comments Download
M chrome/browser/content_settings/host_content_settings_map_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -3 lines 0 comments Download
M chrome/browser/profiles/profile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/browser/profiles/profile_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 1 chunk +4 lines, -2 lines 0 comments Download
M chrome/test/testing_profile.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +7 lines, -5 lines 0 comments Download
M tools/valgrind/memcheck/suppressions.txt View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +0 lines, -34 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
Bernhard Bauer
Please review. Based on http://codereview.chromium.org/7275018/.
9 years, 5 months ago (2011-07-06 13:39:56 UTC) #1
markusheintz_
LGTM with nits http://codereview.chromium.org/7218073/diff/18001/chrome/browser/content_settings/content_settings_pref_provider.cc File chrome/browser/content_settings/content_settings_pref_provider.cc (right): http://codereview.chromium.org/7218073/diff/18001/chrome/browser/content_settings/content_settings_pref_provider.cc#newcode1069 chrome/browser/content_settings/content_settings_pref_provider.cc:1069: AutoReset<bool> tmp(&updating_preferences_, true); This is up ...
9 years, 5 months ago (2011-07-06 15:56:24 UTC) #2
markusheintz_
Just three nit comments http://codereview.chromium.org/7218073/diff/19040/chrome/browser/content_settings/content_settings_policy_provider.h File chrome/browser/content_settings/content_settings_policy_provider.h (right): http://codereview.chromium.org/7218073/diff/19040/chrome/browser/content_settings/content_settings_policy_provider.h#newcode138 chrome/browser/content_settings/content_settings_policy_provider.h:138: HostContentSettingsMap* map_; Maybe you should ...
9 years, 5 months ago (2011-07-07 15:23:17 UTC) #3
Bernhard Bauer
http://codereview.chromium.org/7218073/diff/19040/chrome/browser/content_settings/content_settings_policy_provider.h File chrome/browser/content_settings/content_settings_policy_provider.h (right): http://codereview.chromium.org/7218073/diff/19040/chrome/browser/content_settings/content_settings_policy_provider.h#newcode138 chrome/browser/content_settings/content_settings_policy_provider.h:138: HostContentSettingsMap* map_; On 2011/07/07 15:23:18, markusheintz_ wrote: > Maybe ...
9 years, 5 months ago (2011-07-08 17:05:27 UTC) #4
commit-bot: I haz the power
Can't apply patch for file tools/valgrind/memcheck/suppressions.txt. While running patch -p1 --forward --force; patching file tools/valgrind/memcheck/suppressions.txt ...
9 years, 5 months ago (2011-07-08 17:05:44 UTC) #5
Bernhard Bauer
Miranda, can you look at the Profile changes? Evan, can you look at the Value ...
9 years, 5 months ago (2011-07-08 18:32:00 UTC) #6
Miranda Callahan
On 2011/07/08 18:32:00, Bernhard Bauer wrote: > Miranda, can you look at the Profile changes? ...
9 years, 5 months ago (2011-07-09 03:21:10 UTC) #7
markusheintz_
LGTM
9 years, 5 months ago (2011-07-11 08:01:08 UTC) #8
Evan Martin
9 years, 5 months ago (2011-07-11 21:04:00 UTC) #9
base LGTM

Powered by Google App Engine
This is Rietveld 408576698