summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/syncapi_server_connection_manager.h
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-20 17:25:41 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-20 17:25:41 +0000
commitd45f0d9764d93d8f89564a5df7fa505c6a87a6fe (patch)
tree89ce4ea823cf922e6955dafcfb275459589cef0a /sync/internal_api/syncapi_server_connection_manager.h
parent73e5d26041b0a22e16e383e84a8177930c9fd055 (diff)
downloadchromium_src-d45f0d9764d93d8f89564a5df7fa505c6a87a6fe.zip
chromium_src-d45f0d9764d93d8f89564a5df7fa505c6a87a6fe.tar.gz
chromium_src-d45f0d9764d93d8f89564a5df7fa505c6a87a6fe.tar.bz2
[Sync] Remove unneeded 'using syncer::' lines and 'syncer::' scopings
Since (almost) everything in sync/ is now in the 'syncer' namespace, all of these are redundant. Clean up indentation. Put sync_{client,listen_notifications} into syncer namespace. BUG=128060 TEST= Review URL: https://chromiumcodereview.appspot.com/10795018 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147675 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/internal_api/syncapi_server_connection_manager.h')
-rw-r--r--sync/internal_api/syncapi_server_connection_manager.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/sync/internal_api/syncapi_server_connection_manager.h b/sync/internal_api/syncapi_server_connection_manager.h
index 37b6fed..99656c1 100644
--- a/sync/internal_api/syncapi_server_connection_manager.h
+++ b/sync/internal_api/syncapi_server_connection_manager.h
@@ -19,10 +19,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 syncer::ServerConnectionManager::Connection {
+class SyncAPIBridgedConnection : public ServerConnectionManager::Connection {
public:
- SyncAPIBridgedConnection(syncer::ServerConnectionManager* scm,
+ SyncAPIBridgedConnection(ServerConnectionManager* scm,
HttpPostProviderFactory* factory);
virtual ~SyncAPIBridgedConnection();
@@ -30,7 +29,7 @@ class SyncAPIBridgedConnection
virtual bool Init(const char* path,
const std::string& auth_token,
const std::string& payload,
- syncer::HttpResponse* response) OVERRIDE;
+ HttpResponse* response) OVERRIDE;
virtual void Abort() OVERRIDE;
@@ -47,8 +46,7 @@ class SyncAPIBridgedConnection
// A ServerConnectionManager subclass used by the syncapi layer. We use a
// subclass so that we can override MakePost() to generate a POST object using
// an instance of the HttpPostProviderFactory class.
-class SyncAPIServerConnectionManager
- : public syncer::ServerConnectionManager {
+class SyncAPIServerConnectionManager : public ServerConnectionManager {
public:
// Takes ownership of factory.
SyncAPIServerConnectionManager(const std::string& server,