Delay GetToken/DeleteToken operation until GCMClient is ready.
commit012b5c862b69fd11b4b391e5c243386d8ae19924
authorjianli <jianli@chromium.org>
Thu, 28 May 2015 01:41:29 +0000 (27 18:41 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 28 May 2015 01:42:03 +0000 (28 01:42 +0000)
treeac02910b8e092750fe1f401f51357df841518765
parent5f60abb71d5bd7aff9f05e2ff82c9c7a569174a7
Delay GetToken/DeleteToken operation until GCMClient is ready.

BUG=477084
TEST=new tests added

Review URL: https://codereview.chromium.org/1152963004

Cr-Commit-Position: refs/heads/master@{#331714}
chrome/browser/services/gcm/gcm_profile_service_unittest.cc
components/gcm_driver/fake_gcm_client.cc
components/gcm_driver/fake_gcm_client.h
components/gcm_driver/gcm_driver_desktop.cc
components/gcm_driver/gcm_driver_desktop.h
components/gcm_driver/gcm_driver_desktop_unittest.cc