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

Unified Diff: extensions/common/host_id.h

Issue 942533003: Enable <webview>.executeScript outside of Apps and Extensions [1] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@decouple_brower_isolated_world_routingid_user_script_UserScriptSet_non_hostset_2
Patch Set: Add a test. Created 5 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/common/host_id.h
diff --git a/extensions/common/host_id.h b/extensions/common/host_id.h
index d977a44243d252e44527e68aae5ab581de3acd24..176ea49b6e50b37338876b93e8be30f1ee722647 100644
--- a/extensions/common/host_id.h
+++ b/extensions/common/host_id.h
@@ -10,7 +10,7 @@
// IDs of hosts who own user scripts.
// A HostID is immutable after creation.
struct HostID {
- enum HostType { EXTENSIONS, WEBUI };
+ enum HostType { EXTENSIONS, WEBUI, HOST_TYPE_LAST = WEBUI };
HostID();
HostID(HostType type, const std::string& id);

Powered by Google App Engine
This is Rietveld 408576698