// 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. #include "components/gcm_driver/features.h" #include "base/metrics/field_trial_param_associator.h" #include "base/metrics/field_trial_params.h" #include "base/strings/string_number_conversions.h" #include "base/time/time.h" #include <algorithm> #include <map> namespace gcm { namespace features { BASE_FEATURE(…); const char kParamNameTokenInvalidationPeriodDays[] = …; // A token invalidation period of 0 means the feature is disabled, and the // GCM token never becomes stale. const int kDefaultTokenInvalidationPeriod = …; base::TimeDelta GetTokenInvalidationInterval() { … } } // namespace features } // namespace gcm