blob: 17ffe6ce06312dab69954dd114d8a89ec8ea6a56 [file] [log] [blame]
// Copyright 2014 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.
#include "components/invalidation/impl/invalidation_prefs.h"
namespace invalidation {
namespace prefs {
// An ID to uniquely identify this client to the invalidator service.
const char kInvalidatorClientId[] = "invalidator.client_id";
// Opaque state from the invalidation subsystem that is persisted via prefs.
// The value is base 64 encoded.
const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state";
// List of received invalidations that have not been acted on by any clients
// yet. Used to keep invalidation clients in sync in case of a restart.
const char kInvalidatorSavedInvalidations[] = "invalidator.saved_invalidations";
// The prefference for storing client ID for the invalidator.
const char kFCMInvalidationClientIDCacheDeprecated[] =
"fcm.invalidation.client_id_cache";
// The preference for storing client ID for the invalidator, keyed by sender ID.
const char kInvalidationClientIDCache[] =
"invalidation.per_sender_client_id_cache";
} // namespace prefs
} // namespace invalidation