Add context to file load failures in pdfium_test.
authorDan Sinclair <dsinclair@chromium.org>
Tue, 27 Oct 2015 17:02:59 +0000 (13:02 -0400)
committerDan Sinclair <dsinclair@chromium.org>
Tue, 27 Oct 2015 17:02:59 +0000 (13:02 -0400)
commite6eae266a48cdcfd464f52df68c97183a4f7987a
treef62b73bb383f7c43f848042f35c843d2f38637b1
parentfbbb3c3de517309b6808d7a8f4c441aa0abf7065
Add context to file load failures in pdfium_test.

Currently if pdfium_test fails to load the document it just says it failed. This
CL adds some extra context by looking at the error set by the load and reporting
it to the user.

R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/1413923006 .
samples/pdfium_test.cc