@Override
public void onDocumentReceived(Document document) {
// editable file. construct unchanged diff chunk here.
String text = document.asText();
DiffChunkResponseImpl unchangedDiffChunk = DiffChunkResponseImpl.make()
.setBeforeData(text).setAfterData(text).setDiffType(DiffType.UNCHANGED);
JsonArray<DiffChunkResponse> diffChunks = JsoArray.create();
diffChunks.add(unchangedDiffChunk);
editorDiffContainer.setDiffChunks(path, diffChunks, EditorDiffContainer.UNKNOWN_REVISION,
EditorDiffContainer.UNKNOWN_REVISION);