| 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..ef6af9bbfc8e5b3039e2da253282588b67db8412 100644
|
| --- a/sync/internal_api/public/http_post_provider_factory.h
|
| +++ b/sync/internal_api/public/http_post_provider_factory.h
|
| @@ -7,10 +7,17 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/callback.h"
|
| #include "sync/base/sync_export.h"
|
|
|
| +namespace net {
|
| +class URLFetcher;
|
| +}
|
| +
|
| namespace syncer {
|
|
|
| +typedef base::Callback<void(net::URLFetcher*)> BindToTrackerCallback;
|
| +
|
| class HttpPostProviderInterface;
|
|
|
| // A factory to create HttpPostProviders to hide details about the
|
| @@ -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;
|
|
|