| 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..c7feec49b37fd4dcdf20e5b84e946ffa11ed9a35 100644
|
| --- a/sync/internal_api/public/http_post_provider_factory.h
|
| +++ b/sync/internal_api/public/http_post_provider_factory.h
|
| @@ -7,8 +7,13 @@
|
|
|
| #include <string>
|
|
|
| +#include "base/callback.h"
|
| #include "sync/base/sync_export.h"
|
|
|
| +namespace net {
|
| +class URLFetcher;
|
| +}
|
| +
|
| namespace syncer {
|
|
|
| class HttpPostProviderInterface;
|
| @@ -21,7 +26,9 @@ class SYNC_EXPORT HttpPostProviderFactory {
|
| public:
|
| virtual ~HttpPostProviderFactory() {}
|
|
|
| - virtual void Init(const std::string& user_agent) = 0;
|
| + virtual void Init(
|
| + const std::string& user_agent,
|
| + base::Callback<void(net::URLFetcher*)> bind_to_tracker_callback) = 0;
|
|
|
| // Obtain a new HttpPostProviderInterface instance, owned by caller.
|
| virtual HttpPostProviderInterface* Create() = 0;
|
|
|