Make base:ReplaceFile return an informative error.

It currently just returns true/false to indicate success.
More information to diagnose and log failures would be
helpful in IndexedDB.

This patch also logs the new error when ReplaceFile fails in
IndexedDB.

BUG=229268

Review URL: https://chromiumcodereview.appspot.com/14886003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199025 0039d316-1c4b-4281-b951-d872f2087c98
8 files changed