```
if (real_path.empty()) {
  // your error message postMessageToJS part
}

scoped_refptr<FileSystemChecker> checker(
     new FileSystemChecker(host_->GetID(),
....