This allows greater control over presentation, e.g. when the GrDiff component is used independently it can be provided with a diff that lacks the empty line at the end to prevent an empty line from being displayed, while the warning can still be shown when necessary based on whether a terminating newline was present in the file. Change-Id: I9fa8b5b6e1ef6b1d33a7a2ba0bcfaec8041cb947