GetResourceTreeParams requestParams = new GetResourceTreeParams();
GenericCallback<GetResourceTreeData> callback =
new GenericCallback<GetResourceTreeData>() {
@Override
public void success(GetResourceTreeData value) {
FrameValue frame = value.frameTree().frame();
if (frame.parentId() != null) {
throw new RuntimeException("Unexpected parentId value");
}
String url = frame.url();
boolean silentUpdate = urlUnknown;
tabImpl.updateUrl(url, silentUpdate);
urlUnknown = false;
}