diff options
author | maxbogue <maxbogue@chromium.org> | 2015-06-08 17:44:53 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-09 00:45:33 +0000 |
commit | cd3fad6bed38209a5c09e78e5f0fc703d583fc7f (patch) | |
tree | 13c15ec7561e75e755bbc132dd8bbabecd8a2e81 /components/sync_driver/sync_prefs.h | |
parent | 112f7e29eded1e9333e9e4dd6332bb523b98e900 (diff) | |
download | chromium_src-cd3fad6bed38209a5c09e78e5f0fc703d583fc7f.zip chromium_src-cd3fad6bed38209a5c09e78e5f0fc703d583fc7f.tar.gz chromium_src-cd3fad6bed38209a5c09e78e5f0fc703d583fc7f.tar.bz2 |
[Sync] Rename StartSuppressed to !SyncRequested
This is part of an effort to clean up sync's state interface.
Note that SyncRequested is the inverse of the old StartSuppressed, so
every invocation should be inverted.
BUG=495192
TBR=rogerta,sdefresne
Review URL: https://codereview.chromium.org/1151853008
Cr-Commit-Position: refs/heads/master@{#333403}
Diffstat (limited to 'components/sync_driver/sync_prefs.h')
-rw-r--r-- | components/sync_driver/sync_prefs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/sync_driver/sync_prefs.h b/components/sync_driver/sync_prefs.h index 4521c4e..372335e 100644 --- a/components/sync_driver/sync_prefs.h +++ b/components/sync_driver/sync_prefs.h @@ -74,8 +74,8 @@ class SyncPrefs : NON_EXPORTED_BASE(public base::NonThreadSafe), bool SyncHasAuthError() const; void SetSyncAuthError(bool error); - bool IsStartSuppressed() const; - void SetStartSuppressed(bool is_suppressed); + bool IsSyncRequested() const; + void SetSyncRequested(bool is_requested); base::Time GetLastSyncedTime() const; void SetLastSyncedTime(base::Time time); |