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

Unified Diff: chrome/common/extensions/permissions/permission_message.h

Issue 18854021: Making the extension permissions dialog scrollable, when needed (adding expandable sections for thi… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Polishing Created 7 years, 5 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/permission_message.h
diff --git a/chrome/common/extensions/permissions/permission_message.h b/chrome/common/extensions/permissions/permission_message.h
index ad814ae6f53fda137844d85aed63f2f5fc8ed793..7596ef75d5b600ec4ce3ffdd43836ebb0834a738 100644
--- a/chrome/common/extensions/permissions/permission_message.h
+++ b/chrome/common/extensions/permissions/permission_message.h
@@ -70,9 +70,11 @@ class PermissionMessage {
// Creates the corresponding permission message for a list of hosts. This is
// simply a convenience method around the constructor, since the messages
- // change depending on what hosts are present.
+ // change depending on what hosts are present. If |details_only| is true,
+ // the returned messages include full details of sites the extension
+ // requested access to, otherwise an overview/aggregate of the sites.
static PermissionMessage CreateFromHostList(
- const std::set<std::string>& hosts);
+ const std::set<std::string>& hosts, bool details_only);
// Creates the corresponding permission message.
PermissionMessage(ID id, const string16& message);

Powered by Google App Engine
This is Rietveld 408576698