For this particular line
"script_context_->AssignFromNative(NULL, "", "utils", Variant(&utils_);"
it creates a variable named "utils" in the global name space of the JavaScript context, with the value of the native scriptable object "utils_", so the script can use "utils.loadImage()" etc.
The "utils" API has been obsoleted, only for backward compatibility. Some very old gadgets use this API.
We use AssignFromNative() instead of registering "utils" as a property of the global object because we want the program can just safely ignore this obsoleted API and can freely use this the name "utils" as a normal JavaScript variable, for example, "utils = 10" or "utils = function() { ... }".