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

Unified Diff: extensions/common/permissions/permission_message_util.h

Issue 410023002: Show read-only messages for non-interact non-desktop Automation extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: rebase Created 6 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: extensions/common/permissions/permission_message_util.h
diff --git a/extensions/common/permissions/permission_message_util.h b/extensions/common/permissions/permission_message_util.h
index 410e1a2816696ff4afa704d719211ddc3d0ccd1c..143a5636aadf052ce6d482b25cc100016bfc6c4e 100644
--- a/extensions/common/permissions/permission_message_util.h
+++ b/extensions/common/permissions/permission_message_util.h
@@ -19,7 +19,8 @@ namespace permission_message_util {
// Creates the corresponding permission message for a list of hosts.
// The messages change depending on what hosts are present.
extensions::PermissionMessage CreateFromHostList(
- const std::set<std::string>& hosts);
+ const std::set<std::string>& hosts,
+ bool read_only = false);
not at google - send to devlin 2014/07/23 01:56:59 no default parameters, add another method instead.
aboxhall 2014/07/24 17:32:39 Done.
std::set<std::string> GetDistinctHosts(
const extensions::URLPatternSet& host_patterns,

Powered by Google App Engine
This is Rietveld 408576698