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