1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "google_apis/gcm/engine/gcm_store.h"
9 GCMStore::LoadResult::LoadResult()
11 store_does_not_exist(false),
13 device_security_token(0) {
16 GCMStore::LoadResult::~LoadResult() {}
18 void GCMStore::LoadResult::Reset() {
19 device_android_id
= 0;
20 device_security_token
= 0;
21 registrations
.clear();
22 incoming_messages
.clear();
23 outgoing_messages
.clear();
24 gservices_settings
.clear();
25 gservices_digest
.clear();
26 last_checkin_time
= base::Time::FromInternalValue(0LL);
27 last_token_fetch_time
= base::Time::FromInternalValue(0LL);
28 last_checkin_accounts
.clear();
29 account_mappings
.clear();
30 heartbeat_intervals
.clear();
32 store_does_not_exist
= false;
33 instance_id_data
.clear();
36 GCMStore::GCMStore() {}
38 GCMStore::~GCMStore() {}