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

Unified Diff: chrome/browser/content_settings/content_settings_mock_provider.h

Issue 7218073: Explicitly ShutdownOnUIThread the HostContentSettingsMap when destroying the Profile. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/content_settings/content_settings_mock_provider.h
diff --git a/chrome/browser/content_settings/content_settings_mock_provider.h b/chrome/browser/content_settings/content_settings_mock_provider.h
index 3a6f7e3eacd29cc6a9ac0fd2b3aec10690069e2a..1ca1b09cf2abeb8ea44e067e54ce78421345a163 100644
--- a/chrome/browser/content_settings/content_settings_mock_provider.h
+++ b/chrome/browser/content_settings/content_settings_mock_provider.h
@@ -30,6 +30,7 @@ class MockDefaultProvider : public DefaultProviderInterface {
ContentSetting setting);
virtual void ResetToDefaults();
virtual bool DefaultSettingIsManaged(ContentSettingsType content_type) const;
+ virtual void ShutdownOnUIThread();
private:
ContentSettingsType content_type_;
@@ -79,6 +80,8 @@ class MockProvider : public ProviderInterface {
virtual void ResetToDefaults() {}
+ virtual void ShutdownOnUIThread() {}
+
// Accessors
void set_requesting_url_pattern(ContentSettingsPattern pattern) {
requesting_url_pattern_ = pattern;

Powered by Google App Engine
This is Rietveld 408576698