Index: sync/internal_api/public/http_post_provider_factory.h |
diff --git a/sync/internal_api/public/http_post_provider_factory.h b/sync/internal_api/public/http_post_provider_factory.h |
index 93466514ffb09745b01ea4f1831fac79faeceb49..8c91609030cc9671e0a45ba333f499949f4ca69d 100644 |
--- a/sync/internal_api/public/http_post_provider_factory.h |
+++ b/sync/internal_api/public/http_post_provider_factory.h |
@@ -7,8 +7,15 @@ |
#include <string> |
+#include "base/callback.h" |
#include "sync/base/sync_export.h" |
+namespace net { |
+class URLFetcher; |
+} |
+ |
+typedef base::Callback<void(net::URLFetcher*)> BindToTrackerCallback; |
Nicolas Zea
2015/09/09 23:00:52
nit: move this into syncer namespace
amohammadkhan
2015/09/10 23:08:37
Done.
|
+ |
namespace syncer { |
class HttpPostProviderInterface; |
@@ -21,7 +28,8 @@ class SYNC_EXPORT HttpPostProviderFactory { |
public: |
virtual ~HttpPostProviderFactory() {} |
- virtual void Init(const std::string& user_agent) = 0; |
+ virtual void Init(const std::string& user_agent, |
+ const BindToTrackerCallback& bind_to_tracker_callback) = 0; |
// Obtain a new HttpPostProviderInterface instance, owned by caller. |
virtual HttpPostProviderInterface* Create() = 0; |