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

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

Issue 1132013004: [Sync] Refactoring polling to be reliable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Full patch 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
14 // Boolean specifying whether the user finished setting up sync. 17 // Boolean specifying whether the user finished setting up sync.
15 const char kSyncHasSetupCompleted[] = "sync.has_setup_completed"; 18 const char kSyncHasSetupCompleted[] = "sync.has_setup_completed";
16 19
17 // Boolean specifying whether sync has an auth error. 20 // Boolean specifying whether sync has an auth error.
18 const char kSyncHasAuthError[] = "sync.has_auth_error"; 21 const char kSyncHasAuthError[] = "sync.has_auth_error";
19 22
20 // Boolean specifying whether to automatically sync all data types (including 23 // Boolean specifying whether to automatically sync all data types (including
21 // future ones, as they're added). If this is true, the following preferences 24 // future ones, as they're added). If this is true, the following preferences
22 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored. 25 // (kSyncBookmarks, kSyncPasswords, etc.) can all be ignored.
23 const char kSyncKeepEverythingSynced[] = "sync.keep_everything_synced"; 26 const char kSyncKeepEverythingSynced[] = "sync.keep_everything_synced";
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 const char kSyncFirstSyncTime[] = "sync.first_sync_time"; 100 const char kSyncFirstSyncTime[] = "sync.first_sync_time";
98 101
99 // Stores whether a platform specific passphrase error prompt has been shown to 102 // Stores whether a platform specific passphrase error prompt has been shown to
100 // the user (e.g. an Android system notification). Used for out of band prompts 103 // the user (e.g. an Android system notification). Used for out of band prompts
101 // that we only want to use once. 104 // that we only want to use once.
102 const char kSyncPassphrasePrompted[] = "sync.passphrase_prompted"; 105 const char kSyncPassphrasePrompted[] = "sync.passphrase_prompted";
103 106
104 } // namespace prefs 107 } // namespace prefs
105 108
106 } // namespace sync_driver 109 } // 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