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

Unified Diff: chrome/common/extensions/permissions/chrome_permission_message_rules.cc

Issue 1100763002: Inject CanAddURLToHistory into TopSitesImpl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prefs
Patch Set: Fix error introduced during rebase Created 5 years, 8 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/common/extensions/permissions/chrome_permission_message_rules.cc
diff --git a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
index 397ddd925666f97a09f6aca7b20c3a17468c706f..f5eca76b0a82f0cc0614c9bb382abe37779983a1 100644
--- a/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
+++ b/chrome/common/extensions/permissions/chrome_permission_message_rules.cc
@@ -499,9 +499,15 @@ ChromePermissionMessageRule::GetAllRules() {
{IDS_EXTENSION_PROMPT_WARNING_MUSIC_MANAGER_PRIVATE,
{APIPermission::kMusicManagerPrivate},
{}},
+ {IDS_EXTENSION_PROMPT_WARNING_SEARCH_ENGINES_PRIVATE,
+ {APIPermission::kSearchEnginesPrivate},
+ {}},
{IDS_EXTENSION_PROMPT_WARNING_SETTINGS_PRIVATE,
{APIPermission::kSettingsPrivate},
{}},
+ {IDS_EXTENSION_PROMPT_WARNING_AUTOFILL_PRIVATE,
+ {APIPermission::kAutofillPrivate},
+ {}},
// Platform-app permission messages.

Powered by Google App Engine
This is Rietveld 408576698