UploadThread and WaitableTimerImpl.

Implements a guard against simultaneous access from multiple processes.

BUG=
R=siggi@chromium.org

Review URL: https://codereview.appspot.com/185600043