Index: content/public/browser/web_ui.h |
diff --git a/content/public/browser/web_ui.h b/content/public/browser/web_ui.h |
index 8d45e28b8bdc64ae842bfa6d46d9979b0fab6e37..40ffe58f019b506fe455f81a85c8ed604df243de 100644 |
--- a/content/public/browser/web_ui.h |
+++ b/content/public/browser/web_ui.h |
@@ -105,22 +105,23 @@ class CONTENT_EXPORT WebUI { |
// |
// All function names in WebUI must consist of only ASCII characters. |
// There are variants for calls with more arguments. |
- virtual void CallJavascriptFunction(const std::string& function_name) = 0; |
- virtual void CallJavascriptFunction(const std::string& function_name, |
- const base::Value& arg) = 0; |
- virtual void CallJavascriptFunction(const std::string& function_name, |
- const base::Value& arg1, |
- const base::Value& arg2) = 0; |
- virtual void CallJavascriptFunction(const std::string& function_name, |
- const base::Value& arg1, |
- const base::Value& arg2, |
- const base::Value& arg3) = 0; |
- virtual void CallJavascriptFunction(const std::string& function_name, |
- const base::Value& arg1, |
- const base::Value& arg2, |
- const base::Value& arg3, |
- const base::Value& arg4) = 0; |
- virtual void CallJavascriptFunction( |
+ virtual void CallJavascriptFunctionUnsafe( |
+ const std::string& function_name) = 0; |
+ virtual void CallJavascriptFunctionUnsafe(const std::string& function_name, |
+ const base::Value& arg) = 0; |
+ virtual void CallJavascriptFunctionUnsafe(const std::string& function_name, |
+ const base::Value& arg1, |
+ const base::Value& arg2) = 0; |
+ virtual void CallJavascriptFunctionUnsafe(const std::string& function_name, |
+ const base::Value& arg1, |
+ const base::Value& arg2, |
+ const base::Value& arg3) = 0; |
+ virtual void CallJavascriptFunctionUnsafe(const std::string& function_name, |
+ const base::Value& arg1, |
+ const base::Value& arg2, |
+ const base::Value& arg3, |
+ const base::Value& arg4) = 0; |
+ virtual void CallJavascriptFunctionUnsafe( |
const std::string& function_name, |
const std::vector<const base::Value*>& args) = 0; |
}; |