Add ICU message format support
[chromium-blink-merge.git] / google_apis / gcm / engine / gcm_store.cc
bloba1871b952bb1da2cdc02c63286b7f0c614071402
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"
7 namespace gcm {
9 GCMStore::LoadResult::LoadResult()
10 : success(false),
11 store_does_not_exist(false),
12 device_android_id(0),
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();
31 success = false;
32 store_does_not_exist = false;
33 instance_id_data.clear();
36 GCMStore::GCMStore() {}
38 GCMStore::~GCMStore() {}
40 } // namespace gcm