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

Side by Side Diff: components/sync_driver/pref_names.cc

Issue 1144443004: Revert of [Sync] Refactoring polling to be reliable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« no previous file with comments | « components/sync_driver/pref_names.h ('k') | components/sync_driver/sync_prefs.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/sync_driver/pref_names.h" 5 #include "components/sync_driver/pref_names.h"
6 6
7 namespace sync_driver { 7 namespace sync_driver {
8 8
9 namespace prefs { 9 namespace prefs {
10 10
11 // 64-bit integer serialization of the base::Time when the last sync occurred. 11 // 64-bit integer serialization of the base::Time when the last sync occurred.
12 const char kSyncLastSyncedTime[] = "sync.last_synced_time"; 12 const char kSyncLastSyncedTime[] = "sync.last_synced_time";
13 13
14 // 64-bit integer serialization of the base::Time of the last sync poll.
15 const char kSyncLastPollTime[] = "sync.last_poll_time";
16
17 // Boolean specifying whether the user finished setting up sync. 14 // Boolean specifying whether the user finished setting up sync.
18 const char kSyncHasSetupCompleted[] = "sync.has_setup_completed"; 15 const char kSyncHasSetupCompleted[] = "sync.has_setup_completed";
19 16
20 // Boolean specifying whether sync has an auth error. 17 // Boolean specifying whether sync has an auth error.
21 const char kSyncHasAuthError[] = "sync.has_auth_error"; 18 const char kSyncHasAuthError[] = "sync.has_auth_error";
22 19
23 // Boolean specifying whether to automatically sync all data types (including 20 // Boolean specifying whether to automatically sync all data types (including
24 // future ones, as they're added). If this is true, the following preferences 21 // future ones, as they're added). If this is true, the following preferences
25 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored. 22 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored.
26 const char kSyncKeepEverythingSynced[] = "sync.keep_everything_synced"; 23 const char kSyncKeepEverythingSynced[] = "sync.keep_everything_synced";
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 92
96 // Stores how many times to try rollback before giving up. 93 // Stores how many times to try rollback before giving up.
97 const char kSyncRemainingRollbackTries[] = "sync.remaining_rollback_tries"; 94 const char kSyncRemainingRollbackTries[] = "sync.remaining_rollback_tries";
98 95
99 // Stores the timestamp of first sync. 96 // Stores the timestamp of first sync.
100 const char kSyncFirstSyncTime[] = "sync.first_sync_time"; 97 const char kSyncFirstSyncTime[] = "sync.first_sync_time";
101 98
102 } // namespace prefs 99 } // namespace prefs
103 100
104 } // namespace sync_driver 101 } // namespace sync_driver
OLDNEW
« no previous file with comments | « components/sync_driver/pref_names.h ('k') | components/sync_driver/sync_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698