Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(579)

Side by Side Diff: components/invalidation/impl/invalidation_prefs.cc

Issue 1191393008: Introduce a layering in the invalidation component as public and impl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Explicitly forbid content to prevent future additions Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW
« no previous file with comments | « components/invalidation/impl/invalidation_prefs.h ('k') | components/invalidation/impl/invalidation_service_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698