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

Unified Diff: chrome/browser/extensions/settings_api_bubble_controller.cc

Issue 1137503006: [Extensions] Polish the suspicious extension bubble (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Finnur's Created 5 years, 7 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/extensions/settings_api_bubble_controller.cc
diff --git a/chrome/browser/extensions/settings_api_bubble_controller.cc b/chrome/browser/extensions/settings_api_bubble_controller.cc
index c13239f1638ab87569508344e9c583c9e251b64e..7a4f65de773e92c9898d44ccace16aa66713cfbe 100644
--- a/chrome/browser/extensions/settings_api_bubble_controller.cc
+++ b/chrome/browser/extensions/settings_api_bubble_controller.cc
@@ -46,7 +46,8 @@ class SettingsApiBubbleDelegate
ExtensionMessageBubbleController::BubbleAction user_action) override;
void PerformAction(const ExtensionIdList& list) override;
base::string16 GetTitle() const override;
- base::string16 GetMessageBody(bool anchored_to_browser_action) const override;
+ base::string16 GetMessageBody(bool anchored_to_browser_action,
+ int extension_count) const override;
base::string16 GetOverflowText(
const base::string16& overflow_count) const override;
GURL GetLearnMoreUrl() const override;
@@ -149,7 +150,8 @@ base::string16 SettingsApiBubbleDelegate::GetTitle() const {
}
base::string16 SettingsApiBubbleDelegate::GetMessageBody(
- bool anchored_to_browser_action) const {
+ bool anchored_to_browser_action,
+ int extension_count) const {
ExtensionRegistry* registry = ExtensionRegistry::Get(profile());
const Extension* extension =
registry->GetExtensionById(extension_id_, ExtensionRegistry::ENABLED);

Powered by Google App Engine
This is Rietveld 408576698