summaryrefslogtreecommitdiffstats
path: root/chromium/components/gcm_driver/features.h
blob: a6fe8bb10c861b5e212e2215ff2f0f8b6f7cbfad (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
// Copyright 2018 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.

#ifndef COMPONENTS_GCM_DRIVER_FEATURES_H_
#define COMPONENTS_GCM_DRIVER_FEATURES_H_

#include "base/feature_list.h"

namespace base {
class TimeDelta;
}

namespace gcm {

namespace features {

extern const base::Feature kInvalidateTokenFeature;
extern const char kParamNameTokenInvalidationPeriodDays[];

// The period after which the GCM token becomes stale.
base::TimeDelta GetTokenInvalidationInterval();

}  // namespace features

}  // namespace gcm

#endif  // COMPONENTS_GCM_DRIVER_FEATURES_H_