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

Unified Diff: extensions/renderer/dispatcher.h

Issue 2499493004: Communicate ExtensionSettings policy to renderers (Closed)
Patch Set: Fix effective TLD wildcard bug, move to Leaky LazyInstance in PermissionsData, removed unnecessary … Created 3 years, 9 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/renderer/dispatcher.h
diff --git a/extensions/renderer/dispatcher.h b/extensions/renderer/dispatcher.h
index 2e50fcf90343447e901944ae370e1599d2cab599..4da298af5f539e18103b8ce99a55680258041f3c 100644
--- a/extensions/renderer/dispatcher.h
+++ b/extensions/renderer/dispatcher.h
@@ -42,6 +42,8 @@ struct ExtensionMsg_ExternalConnectionInfo;
struct ExtensionMsg_Loaded_Params;
struct ExtensionMsg_TabConnectionInfo;
struct ExtensionMsg_UpdatePermissions_Params;
+struct ExtensionMsg_UpdatePolicyHostRestrictions_Params;
+struct ExtensionMsg_UpdateDefaultPolicyHostRestrictions_Params;
namespace blink {
class WebFrame;
@@ -191,6 +193,10 @@ class Dispatcher : public content::RenderThreadObserver,
void OnTransferBlobs(const std::vector<std::string>& blob_uuids);
void OnUnloaded(const std::string& id);
void OnUpdatePermissions(const ExtensionMsg_UpdatePermissions_Params& params);
+ void OnUpdatePolicyHostRestrictions(
Devlin 2017/03/29 21:36:50 This method doesn't appear to exist?
nrpeter 2017/03/30 00:06:06 Done. Forgot to remove after we folded this into
+ const ExtensionMsg_UpdatePolicyHostRestrictions_Params& params);
+ void OnUpdateDefaultPolicyHostRestrictions(
+ const ExtensionMsg_UpdateDefaultPolicyHostRestrictions_Params& params);
void OnUpdateTabSpecificPermissions(const GURL& visible_url,
const std::string& extension_id,
const URLPatternSet& new_hosts,

Powered by Google App Engine
This is Rietveld 408576698