| Index: content/public/test/test_web_ui.h
|
| diff --git a/content/public/test/test_web_ui.h b/content/public/test/test_web_ui.h
|
| index eedd787821e4ea332bc0395cce8b27090e2bbbf8..261512c72745fbb267818cccc469babf5730ebd6 100644
|
| --- a/content/public/test/test_web_ui.h
|
| +++ b/content/public/test/test_web_ui.h
|
| @@ -15,7 +15,7 @@
|
| namespace content {
|
|
|
| // Test instance of WebUI that tracks the data passed to
|
| -// CallJavascriptFunction().
|
| +// CallJavascriptFunctionUnsafe().
|
| class TestWebUI : public WebUI {
|
| public:
|
| TestWebUI();
|
| @@ -45,22 +45,22 @@ class TestWebUI : public WebUI {
|
| const std::string& message,
|
| const base::ListValue& args) override {}
|
| bool CanCallJavascript() override;
|
| - void CallJavascriptFunction(const std::string& function_name) override;
|
| - void CallJavascriptFunction(const std::string& function_name,
|
| - const base::Value& arg1) override;
|
| - void CallJavascriptFunction(const std::string& function_name,
|
| - const base::Value& arg1,
|
| - const base::Value& arg2) override;
|
| - void CallJavascriptFunction(const std::string& function_name,
|
| - const base::Value& arg1,
|
| - const base::Value& arg2,
|
| - const base::Value& arg3) override;
|
| - void CallJavascriptFunction(const std::string& function_name,
|
| - const base::Value& arg1,
|
| - const base::Value& arg2,
|
| - const base::Value& arg3,
|
| - const base::Value& arg4) override;
|
| - void CallJavascriptFunction(
|
| + void CallJavascriptFunctionUnsafe(const std::string& function_name) override;
|
| + void CallJavascriptFunctionUnsafe(const std::string& function_name,
|
| + const base::Value& arg1) override;
|
| + void CallJavascriptFunctionUnsafe(const std::string& function_name,
|
| + const base::Value& arg1,
|
| + const base::Value& arg2) override;
|
| + void CallJavascriptFunctionUnsafe(const std::string& function_name,
|
| + const base::Value& arg1,
|
| + const base::Value& arg2,
|
| + const base::Value& arg3) override;
|
| + void CallJavascriptFunctionUnsafe(const std::string& function_name,
|
| + const base::Value& arg1,
|
| + const base::Value& arg2,
|
| + const base::Value& arg3,
|
| + const base::Value& arg4) override;
|
| + void CallJavascriptFunctionUnsafe(
|
| const std::string& function_name,
|
| const std::vector<const base::Value*>& args) override;
|
|
|
|
|