Fix a couple problems related to getting and deleting Instance ID
[chromium-blink-merge.git] / components / gcm_driver / gcm_activity.cc
blob7e9e1623aa6cc2003034d485e2bbb383c0aba4ea
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 "components/gcm_driver/gcm_activity.h"
7 namespace gcm {
9 Activity::Activity()
10 : time(base::Time::Now()) {
13 Activity::~Activity() {
16 CheckinActivity::CheckinActivity() {
19 CheckinActivity::~CheckinActivity() {
22 ConnectionActivity::ConnectionActivity() {
25 ConnectionActivity::~ConnectionActivity() {
28 RegistrationActivity::RegistrationActivity() {
31 RegistrationActivity::~RegistrationActivity() {
34 ReceivingActivity::ReceivingActivity()
35 : message_byte_size(0) {
38 ReceivingActivity::~ReceivingActivity() {
41 SendingActivity::SendingActivity() {
44 SendingActivity::~SendingActivity() {
47 RecordedActivities::RecordedActivities() {
50 RecordedActivities::~RecordedActivities() {
53 } // namespace gcm