}
}
-// TODO(toyoshim): Should share as many code with geolocation as possible.
-class ContentSettingMIDISysExBubbleModel
+class ContentSettingMidiSysExBubbleModel
: public ContentSettingTitleAndLinkModel {
public:
- ContentSettingMIDISysExBubbleModel(Delegate* delegate,
+ ContentSettingMidiSysExBubbleModel(Delegate* delegate,
WebContents* web_contents,
Profile* profile,
ContentSettingsType content_type);
- virtual ~ContentSettingMIDISysExBubbleModel() {}
+ virtual ~ContentSettingMidiSysExBubbleModel() {}
private:
void MaybeAddDomainList(const std::set<std::string>& hosts, int title_id);
virtual void OnCustomLinkClicked() OVERRIDE;
};
-ContentSettingMIDISysExBubbleModel::ContentSettingMIDISysExBubbleModel(
+ContentSettingMidiSysExBubbleModel::ContentSettingMidiSysExBubbleModel(
Delegate* delegate,
WebContents* web_contents,
Profile* profile,
SetDomainsAndCustomLink();
}
-void ContentSettingMIDISysExBubbleModel::MaybeAddDomainList(
+void ContentSettingMidiSysExBubbleModel::MaybeAddDomainList(
const std::set<std::string>& hosts, int title_id) {
if (!hosts.empty()) {
DomainList domain_list;
}
}
-void ContentSettingMIDISysExBubbleModel::SetDomainsAndCustomLink() {
+void ContentSettingMidiSysExBubbleModel::SetDomainsAndCustomLink() {
TabSpecificContentSettings* content_settings =
TabSpecificContentSettings::FromWebContents(web_contents());
const ContentSettingsUsagesState& usages_state =
}
}
-void ContentSettingMIDISysExBubbleModel::OnCustomLinkClicked() {
+void ContentSettingMidiSysExBubbleModel::OnCustomLinkClicked() {
if (!web_contents())
return;
// Reset this embedder's entry to default for each of the requesting
registry, content_type);
}
if (content_type == CONTENT_SETTINGS_TYPE_MIDI_SYSEX) {
- return new ContentSettingMIDISysExBubbleModel(delegate, web_contents,
+ return new ContentSettingMidiSysExBubbleModel(delegate, web_contents,
profile, content_type);
}
return new ContentSettingSingleRadioGroup(delegate, web_contents, profile,