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

Unified Diff: sync/internal_api/public/http_bridge.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
Index: sync/internal_api/public/http_bridge.h
diff --git a/sync/internal_api/public/http_bridge.h b/sync/internal_api/public/http_bridge.h
index cec5526294f76bac6a53870670456131d5966fca..74eaa2c1c9df2f6affc08324001eb7a415be482d 100644
--- a/sync/internal_api/public/http_bridge.h
+++ b/sync/internal_api/public/http_bridge.h
@@ -38,7 +38,7 @@ namespace browser_sync {
// It is RefCountedThreadSafe because it can PostTask to the io loop, and thus
// needs to stick around across context switches, etc.
class HttpBridge : public base::RefCountedThreadSafe<HttpBridge>,
- public csync::HttpPostProviderInterface,
+ public syncer::HttpPostProviderInterface,
public net::URLFetcherDelegate {
public:
// A request context used for HTTP requests bridged from the sync backend.
@@ -98,7 +98,7 @@ class HttpBridge : public base::RefCountedThreadSafe<HttpBridge>,
explicit HttpBridge(RequestContextGetter* context);
- // csync::HttpPostProvider implementation.
+ // syncer::HttpPostProvider implementation.
virtual void SetExtraRequestHeaders(const char* headers) OVERRIDE;
virtual void SetURL(const char* url, int port) OVERRIDE;
virtual void SetPostPayload(const char* content_type, int content_length,
@@ -205,16 +205,16 @@ class HttpBridge : public base::RefCountedThreadSafe<HttpBridge>,
DISALLOW_COPY_AND_ASSIGN(HttpBridge);
};
-class HttpBridgeFactory : public csync::HttpPostProviderFactory {
+class HttpBridgeFactory : public syncer::HttpPostProviderFactory {
public:
HttpBridgeFactory(
net::URLRequestContextGetter* baseline_context_getter,
const std::string& user_agent);
virtual ~HttpBridgeFactory();
- // csync::HttpPostProviderFactory:
- virtual csync::HttpPostProviderInterface* Create() OVERRIDE;
- virtual void Destroy(csync::HttpPostProviderInterface* http) OVERRIDE;
+ // syncer::HttpPostProviderFactory:
+ virtual syncer::HttpPostProviderInterface* Create() OVERRIDE;
+ virtual void Destroy(syncer::HttpPostProviderInterface* http) OVERRIDE;
private:
// This request context is built on top of the baseline context and shares
« no previous file with comments | « sync/internal_api/public/engine/sync_status.cc ('k') | sync/internal_api/public/http_post_provider_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698