From 06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd Mon Sep 17 00:00:00 2001 From: "akalin@chromium.org" Date: Fri, 22 Jun 2012 07:35:26 +0000 Subject: [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 --- sync/internal_api/syncapi_internal.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sync/internal_api/syncapi_internal.cc') 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 -- cgit v1.1