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

Unified Diff: extensions/common/user_script.h

Issue 493633003: Browser changes for wiring up RequestContentScript API to shared memory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit: Inline methods in unit tests Created 6 years, 4 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 | « chrome/browser/extensions/user_script_loader.cc ('k') | extensions/renderer/scripts_run_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/common/user_script.h
diff --git a/extensions/common/user_script.h b/extensions/common/user_script.h
index 5a37d3be7053bff5de5f382506ac7217b478024a..5a2731536b2237699a1c76f54aa778d2af9643e8 100644
--- a/extensions/common/user_script.h
+++ b/extensions/common/user_script.h
@@ -66,6 +66,8 @@ class UserScript {
// particular injection point is guaranteed.
RUN_DEFERRED, // The user script's injection was deferred for permissions
// reasons, and was executed at a later time.
+ BROWSER_DRIVEN, // The user script will be injected when triggered by an
+ // IPC in the browser process.
RUN_LOCATION_LAST // Leave this as the last item.
};
« no previous file with comments | « chrome/browser/extensions/user_script_loader.cc ('k') | extensions/renderer/scripts_run_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698