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

Unified Diff: chrome/browser/ui/content_settings/content_setting_bubble_model.h

Issue 10546083: Convert ProtocolHandlerRegistry to be a ProfileKeyedService. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor docu-changes. Created 8 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/ui/content_settings/content_setting_bubble_model.h
diff --git a/chrome/browser/ui/content_settings/content_setting_bubble_model.h b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
index 07c9773d8308982b212b9d493fd5636cf5ba14e1..9e4377b0cf8d289978940554e89cae1bbcaf1aae 100644
--- a/chrome/browser/ui/content_settings/content_setting_bubble_model.h
+++ b/chrome/browser/ui/content_settings/content_setting_bubble_model.h
@@ -19,6 +19,7 @@
class ContentSettingBubbleModelDelegate;
class Profile;
+class ProtocolHandlerRegistry;
class TabContents;
// This model provides data for ContentSettingBubble, and also controls
@@ -158,6 +159,7 @@ class ContentSettingRPHBubbleModel : public ContentSettingTitleAndLinkModel {
ContentSettingRPHBubbleModel(Delegate* delegate,
TabContents* tab_contents,
Profile* profile,
+ ProtocolHandlerRegistry* registry,
ContentSettingsType content_type);
virtual void OnRadioClicked(int radio_index) OVERRIDE;
@@ -177,6 +179,7 @@ class ContentSettingRPHBubbleModel : public ContentSettingTitleAndLinkModel {
void ClearOrSetPreviousHandler();
int selected_item_;
+ ProtocolHandlerRegistry* registry_;
ProtocolHandler pending_handler_;
ProtocolHandler previous_handler_;
};

Powered by Google App Engine
This is Rietveld 408576698