1cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// Copyright 2014 The Chromium Authors. All rights reserved. 2cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 3cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// found in the LICENSE file. 4cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 5cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)#include "components/invalidation/invalidation_prefs.h" 6cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 7cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)namespace invalidation { 8cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)namespace prefs { 9cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 10cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// An ID to uniquely identify this client to the invalidator service. 11cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)const char kInvalidatorClientId[] = "invalidator.client_id"; 12cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 13cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// Opaque state from the invalidation subsystem that is persisted via prefs. 14cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// The value is base 64 encoded. 15cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)const char kInvalidatorInvalidationState[] = "invalidator.invalidation_state"; 16cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 17cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// List of received invalidations that have not been acted on by any clients 18cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)// yet. Used to keep invalidation clients in sync in case of a restart. 19cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)const char kInvalidatorSavedInvalidations[] = "invalidator.saved_invalidations"; 20cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles) 21cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)} // namespace prefs 22cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)} // namespace invalidation 23