diff options
author | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-22 07:35:26 +0000 |
---|---|---|
committer | akalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-22 07:35:26 +0000 |
commit | 06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd (patch) | |
tree | edcc4117871b482005d719b9fa20d921826929e6 /sync/internal_api/syncapi_internal.cc | |
parent | 855cf34fcf1f41eb7a12afdbae58fec830a1ea9b (diff) | |
download | chromium_src-06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd.zip chromium_src-06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd.tar.gz chromium_src-06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd.tar.bz2 |
[Sync] Rename sync_api to csync
BUG=128060
TEST=
Review URL: https://chromiumcodereview.appspot.com/10601002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143557 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/syncapi_internal.cc')
-rw-r--r-- | sync/internal_api/syncapi_internal.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sync/internal_api/syncapi_internal.cc b/sync/internal_api/syncapi_internal.cc index b8e8c43..c6b1cad 100644 --- a/sync/internal_api/syncapi_internal.cc +++ b/sync/internal_api/syncapi_internal.cc @@ -11,7 +11,7 @@ using csync::Cryptographer; -namespace sync_api { +namespace csync { sync_pb::PasswordSpecificsData* DecryptPasswordSpecifics( const sync_pb::EntitySpecifics& specifics, Cryptographer* crypto) { @@ -33,9 +33,9 @@ static const char* kForbiddenServerNames[] = { "", ".", ".." }; // When taking a name from the syncapi, append a space if it matches the // pattern of a server-illegal name followed by zero or more spaces. -void SyncAPINameToServerName(const std::string& sync_api_name, +void SyncAPINameToServerName(const std::string& csync_name, std::string* out) { - *out = sync_api_name; + *out = csync_name; if (IsNameServerIllegalAfterTrimming(*out)) out->append(" "); } @@ -84,4 +84,4 @@ bool AreSpecificsEqual(const csync::Cryptographer* cryptographer, return false; } -} // namespace sync_api +} // namespace csync |