| Index: chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc
|
| diff --git a/chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc b/chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc
|
| index fadfb0b551e3a12528ff67b9372e3e1281b770cf..badcb3669deb20e679b58cd7eec9df91c233c974 100644
|
| --- a/chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc
|
| +++ b/chrome/browser/ui/webui/chromeos/login/base_screen_handler.cc
|
| @@ -80,6 +80,24 @@ void BaseScreenHandler::CallJS(const std::string& method,
|
| }
|
|
|
| void BaseScreenHandler::CallJS(const std::string& method,
|
| + const std::string& arg1) {
|
| + base::StringValue value1(arg1);
|
| + CallJS(method, value1);
|
| +}
|
| +
|
| +void BaseScreenHandler::CallJS(const std::string& method,
|
| + int arg1) {
|
| + base::FundamentalValue value1(arg1);
|
| + CallJS(method, value1);
|
| +}
|
| +
|
| +void BaseScreenHandler::CallJS(const std::string& method,
|
| + bool arg1) {
|
| + base::FundamentalValue value1(arg1);
|
| + CallJS(method, value1);
|
| +}
|
| +
|
| +void BaseScreenHandler::CallJS(const std::string& method,
|
| const base::Value& arg1,
|
| const base::Value& arg2) {
|
| web_ui()->CallJavascriptFunction(method, arg1, arg2);
|
|
|