// Copyright 2014 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/gcm_backoff_policy.h" namespace gcm { namespace { // Backoff policy. Shared across GCM requests. // Note: In order to ensure a minimum of 20 seconds between server errors (for // server reasons), we have a 30s +- 10s (33%) jitter initial backoff. const net::BackoffEntry::Policy kDefaultBackoffPolicy = …; } // namespace const net::BackoffEntry::Policy& GetGCMBackoffPolicy() { … } } // namespace gcm