Index: chrome/browser/extensions/script_executor.h |
diff --git a/chrome/browser/extensions/script_executor.h b/chrome/browser/extensions/script_executor.h |
index c4d1567b21583fea40fa296c473cdca6e04c50ca..4fecfef92b9a770aa7aec77235d5bb02410873d8 100644 |
--- a/chrome/browser/extensions/script_executor.h |
+++ b/chrome/browser/extensions/script_executor.h |
@@ -49,6 +49,13 @@ class ScriptExecutor { |
ALL_FRAMES, |
}; |
+ // Whether to insert the script in about: frames when its origin matches |
+ // the extension's host permissions. |
+ enum MatchAboutBlank { |
+ DONT_MATCH_ABOUT_BLANK, |
+ MATCH_ABOUT_BLANK, |
+ }; |
+ |
// The type of world to inject into (main world, or its own isolated world). |
enum WorldType { |
MAIN_WORLD, |
@@ -83,6 +90,7 @@ class ScriptExecutor { |
ScriptType script_type, |
const std::string& code, |
FrameScope frame_scope, |
+ MatchAboutBlank match_about_blank, |
UserScript::RunLocation run_at, |
WorldType world_type, |
ProcessType process_type, |