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