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

Unified Diff: sync/internal_api/syncapi_server_connection_manager.h

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sync/internal_api/syncapi_internal.cc ('k') | sync/internal_api/syncapi_server_connection_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/internal_api/syncapi_server_connection_manager.h
diff --git a/sync/internal_api/syncapi_server_connection_manager.h b/sync/internal_api/syncapi_server_connection_manager.h
index 96780453212aeac6636f49d50b12bd02e37f685a..4b15f72fde66eb7e348b39a4e7cc594a79fdb8a2 100644
--- a/sync/internal_api/syncapi_server_connection_manager.h
+++ b/sync/internal_api/syncapi_server_connection_manager.h
@@ -13,7 +13,7 @@
#include "base/memory/scoped_ptr.h"
#include "sync/engine/net/server_connection_manager.h"
-namespace csync {
+namespace syncer {
class HttpPostProviderFactory;
class HttpPostProviderInterface;
@@ -21,9 +21,9 @@ class HttpPostProviderInterface;
// This provides HTTP Post functionality through the interface provided
// to the sync API by the application hosting the syncer backend.
class SyncAPIBridgedConnection
- : public csync::ServerConnectionManager::Connection {
+ : public syncer::ServerConnectionManager::Connection {
public:
- SyncAPIBridgedConnection(csync::ServerConnectionManager* scm,
+ SyncAPIBridgedConnection(syncer::ServerConnectionManager* scm,
HttpPostProviderFactory* factory);
virtual ~SyncAPIBridgedConnection();
@@ -31,7 +31,7 @@ class SyncAPIBridgedConnection
virtual bool Init(const char* path,
const std::string& auth_token,
const std::string& payload,
- csync::HttpResponse* response) OVERRIDE;
+ syncer::HttpResponse* response) OVERRIDE;
virtual void Abort() OVERRIDE;
@@ -49,7 +49,7 @@ class SyncAPIBridgedConnection
// subclass so that we can override MakePost() to generate a POST object using
// an instance of the HttpPostProviderFactory class.
class SyncAPIServerConnectionManager
- : public csync::ServerConnectionManager {
+ : public syncer::ServerConnectionManager {
public:
// Takes ownership of factory.
SyncAPIServerConnectionManager(const std::string& server,
@@ -72,6 +72,6 @@ class SyncAPIServerConnectionManager
DISALLOW_COPY_AND_ASSIGN(SyncAPIServerConnectionManager);
};
-} // namespace csync
+} // namespace syncer
#endif // SYNC_INTERNAL_API_SYNCAPI_SERVER_CONNECTION_MANAGER_H_
« no previous file with comments | « sync/internal_api/syncapi_internal.cc ('k') | sync/internal_api/syncapi_server_connection_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698