blob: 0c11d37fb349820bd4bb6ebe6dea3eca618de47b [file] [log] [blame]
// Copyright 2018 The Chromium Authors
// 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 {
BASE_DECLARE_FEATURE(kInvalidateTokenFeature);
BASE_DECLARE_FEATURE(kGCMIncludeAccountTokensInCheckinRequest);
BASE_DECLARE_FEATURE(kGCMReportAccountTokenChanges);
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_