[GCM] Persistence of account mappings.
commitf388235acf9b5d56c4374998240faca888ba98b5
authorfgorski@chromium.org <fgorski@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 4 Aug 2014 19:35:18 +0000 (4 19:35 +0000)
committerfgorski@chromium.org <fgorski@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Mon, 4 Aug 2014 19:35:18 +0000 (4 19:35 +0000)
tree62ed43d2c9c4de99e13d2cc0e86f7630a78d7eca
parentacad49654e2c232e6efb5ac7392298bbeb234a40
[GCM] Persistence of account mappings.

* Adding ability to add, remove and load account info
to device mappings in GCMStore with Tests.
* Moving the code resetting load results to LoadResult
structure (fixed a bug where last_checkin_accounts
where not cleared upon failure to load)

R=zea@chromium.org
BUG=374969

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@287391 0039d316-1c4b-4281-b951-d872f2087c98
google_apis/gcm/BUILD.gn
google_apis/gcm/engine/gcm_store.cc
google_apis/gcm/engine/gcm_store.h
google_apis/gcm/engine/gcm_store_impl.cc
google_apis/gcm/engine/gcm_store_impl.h
google_apis/gcm/engine/gcm_store_impl_unittest.cc