Index: chrome/browser/extensions/execute_code_in_tab_function.h |
diff --git a/chrome/browser/extensions/execute_code_in_tab_function.h b/chrome/browser/extensions/execute_code_in_tab_function.h |
index fb36fa9f98343a4ada6b60aec7a7551eba721652..411533008aa4a795ae0edfd09acefb01d7e7af20 100644 |
--- a/chrome/browser/extensions/execute_code_in_tab_function.h |
+++ b/chrome/browser/extensions/execute_code_in_tab_function.h |
@@ -10,6 +10,7 @@ |
#include "chrome/browser/extensions/extension_function.h" |
#include "chrome/common/extensions/extension_resource.h" |
+#include "chrome/common/extensions/user_script.h" |
#include "content/public/browser/web_contents_observer.h" |
// Implement API call tabs.executeScript and tabs.insertCSS. |
@@ -58,6 +59,9 @@ class ExecuteCodeInTabFunction : public AsyncExtensionFunction, |
// If all_frames_ is true, script or CSS text would be injected |
// to all frames; Otherwise only injected to top main frame. |
bool all_frames_; |
+ |
+ // The intended time to run the script. |
+ UserScript::RunLocation run_at_; |
}; |
class TabsExecuteScriptFunction : public ExecuteCodeInTabFunction { |