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

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

Issue 234563003: extensions: Introduce a fake ExtensionsClient implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address yoz review Created 6 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
« no previous file with comments | « no previous file | extensions/extensions.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/permissions/chrome_permission_message_provider.cc
diff --git a/chrome/common/extensions/permissions/chrome_permission_message_provider.cc b/chrome/common/extensions/permissions/chrome_permission_message_provider.cc
index f0c415d5f79b70d1c8f4d86d16a28c3d99da7408..14a43fbccc87dd3015d4b1294d71d95af7a5236d 100644
--- a/chrome/common/extensions/permissions/chrome_permission_message_provider.cc
+++ b/chrome/common/extensions/permissions/chrome_permission_message_provider.cc
@@ -81,7 +81,6 @@ ChromePermissionMessageProvider::ChromePermissionMessageProvider() {
ChromePermissionMessageProvider::~ChromePermissionMessageProvider() {
}
-// static
PermissionMessages ChromePermissionMessageProvider::GetPermissionMessages(
const PermissionSet* permissions,
Manifest::Type extension_type) const {
@@ -117,7 +116,6 @@ PermissionMessages ChromePermissionMessageProvider::GetPermissionMessages(
return messages;
}
-// static
std::vector<base::string16> ChromePermissionMessageProvider::GetWarningMessages(
const PermissionSet* permissions,
Manifest::Type extension_type) const {
@@ -187,7 +185,6 @@ std::vector<base::string16> ChromePermissionMessageProvider::GetWarningMessages(
return message_strings;
}
-// static
std::vector<base::string16>
ChromePermissionMessageProvider::GetWarningMessagesDetails(
const PermissionSet* permissions,
@@ -203,7 +200,6 @@ ChromePermissionMessageProvider::GetWarningMessagesDetails(
return message_strings;
}
-// static
bool ChromePermissionMessageProvider::IsPrivilegeIncrease(
const PermissionSet* old_permissions,
const PermissionSet* new_permissions,
« no previous file with comments | « no previous file | extensions/extensions.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698