diff options
author | lazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-20 00:25:24 +0000 |
---|---|---|
committer | lazyboy@chromium.org <lazyboy@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-20 00:25:24 +0000 |
commit | 671221be6473e2388a5ef85159ca292b88d5a2c7 (patch) | |
tree | 6bbe991d3a4abc7a52ea9a9664f9f99f30f90a5c /sync/internal_api/sync_manager_impl.h | |
parent | fc5f9ef1773c2435404699d14fbc7d3bf0a62221 (diff) | |
download | chromium_src-671221be6473e2388a5ef85159ca292b88d5a2c7.zip chromium_src-671221be6473e2388a5ef85159ca292b88d5a2c7.tar.gz chromium_src-671221be6473e2388a5ef85159ca292b88d5a2c7.tar.bz2 |
sync_manager: Remove UserShare's name member.
BUG=150938
TEST=./out/Debug/sync_unit_tests
Review URL: https://chromiumcodereview.appspot.com/12295029
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183343 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/sync_manager_impl.h')
-rw-r--r-- | sync/internal_api/sync_manager_impl.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/sync/internal_api/sync_manager_impl.h b/sync/internal_api/sync_manager_impl.h index dff9c4b..8baf44d 100644 --- a/sync/internal_api/sync_manager_impl.h +++ b/sync/internal_api/sync_manager_impl.h @@ -135,10 +135,6 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl : PassphraseType type, base::Time explicit_passphrase_time) OVERRIDE; - // Return the currently active (validated) username for use with syncable - // types. - const std::string& username_for_share() const; - static int GetDefaultNudgeDelay(); static int GetPreferencesNudgeDelay(); @@ -235,8 +231,8 @@ class SYNC_EXPORT_PRIVATE SyncManagerImpl : const syncable::EntryKernelMutation& mutation, Cryptographer* cryptographer) const; - // Open the directory named with username_for_share - bool OpenDirectory(); + // Open the directory named with |username|. + bool OpenDirectory(const std::string& username); // Purge those types from |previously_enabled_types| that are no longer // enabled in |currently_enabled_types|. |