Index: chrome/browser/protector/settings_change_global_error.cc |
diff --git a/chrome/browser/protector/settings_change_global_error.cc b/chrome/browser/protector/settings_change_global_error.cc |
index 74d8c833e9174e8bf5b868b03b55cc797b282361..fe1258cbd1b8ad95896acec6ff88454de951eeec 100644 |
--- a/chrome/browser/protector/settings_change_global_error.cc |
+++ b/chrome/browser/protector/settings_change_global_error.cc |
@@ -47,6 +47,10 @@ bool SettingsChangeGlobalError::HasBadge() { |
return true; |
} |
+int SettingsChangeGlobalError::GetBadgeResourceID() { |
+ return change_->GetBadgeIconID(); |
+} |
+ |
bool SettingsChangeGlobalError::HasMenuItem() { |
return true; |
} |
@@ -59,6 +63,10 @@ string16 SettingsChangeGlobalError::MenuItemLabel() { |
return change_->GetBubbleTitle(); |
} |
+int SettingsChangeGlobalError::MenuItemIconResourceID() { |
+ return change_->GetMenuItemIconID(); |
+} |
+ |
void SettingsChangeGlobalError::ExecuteMenuItem(Browser* browser) { |
// Cancel previously posted tasks. |
weak_factory_.InvalidateWeakPtrs(); |
@@ -70,6 +78,10 @@ bool SettingsChangeGlobalError::HasBubbleView() { |
return true; |
} |
+int SettingsChangeGlobalError::GetBubbleViewIconResourceID() { |
+ return change_->GetBubbleIconID(); |
+} |
+ |
string16 SettingsChangeGlobalError::GetBubbleViewTitle() { |
return change_->GetBubbleTitle(); |
} |