libbrillo: use ScopedTempDir::GetPath

Upstream versions of libchrome have gotten rid of ScopedTempDir's
inline path method because they wanted to introduce a DCHECK that
helps make sure people create the temp directory before using it.
To avoid introducing a header dependency on the logging header
they took this method out of the header so it wouldn't be inlined.

TEST=unit tests

Change-Id: Ic83227a7ddbbad32a1df1f9554d29470c1a2dd42
Commit-Ready: Eric Caruso <>
Tested-by: Eric Caruso <>
Reviewed-by: Dan Erat <>
8 files changed