Mugdha Lakhani | c0f6cdb1 | 2018-02-08 19:15:02 | [diff] [blame] | 1 | // Copyright 2018 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. |
| 4 | |
| 5 | #ifndef COMPONENTS_GCM_DRIVER_FEATURES_H |
| 6 | #define COMPONENTS_GCM_DRIVER_FEATURES_H |
| 7 | |
| 8 | #include "base/feature_list.h" |
Mugdha Lakhani | c0f6cdb1 | 2018-02-08 19:15:02 | [diff] [blame] | 9 | |
| 10 | namespace gcm { |
| 11 | |
| 12 | namespace features { |
| 13 | |
| 14 | extern const base::Feature kInvalidateTokenFeature; |
Mugdha Lakhani | c3d792e | 2018-02-13 15:10:13 | [diff] [blame] | 15 | extern const char kParamNameTokenInvalidationPeriodDays[]; |
Mugdha Lakhani | c0f6cdb1 | 2018-02-08 19:15:02 | [diff] [blame] | 16 | |
| 17 | // The period after which the GCM token becomes stale. |
| 18 | base::TimeDelta GetTokenInvalidationInterval(); |
| 19 | |
| 20 | } // namespace features |
| 21 | |
| 22 | } // namespace gcm |
| 23 | |
| 24 | #endif // COMPONENTS_GCM_DRIVER_FEATURES_H |