#ifndef SYNC_TEST_FAKE_SERVER_FAKE_SERVER_NETWORK_RESOURCES_H_
#define SYNC_TEST_FAKE_SERVER_FAKE_SERVER_NETWORK_RESOURCES_H_
#include "base/memory/scoped_ptr.h"
#include "sync/internal_api/public/network_resources.h"
#include "sync/internal_api/public/network_time_update_callback.h"
namespace net {
class URLRequestContextGetter;
}
namespace fake_server {
class FakeServer;
class HttpPostProviderFactory;
class FakeServerNetworkResources : public syncer::NetworkResources {
public:
FakeServerNetworkResources(FakeServer* fake_server);
virtual ~FakeServerNetworkResources();
virtual
scoped_ptr<syncer::HttpPostProviderFactory> GetHttpPostProviderFactory(
net::URLRequestContextGetter* baseline_context_getter,
const syncer::NetworkTimeUpdateCallback& network_time_update_callback,
syncer::CancelationSignal* cancelation_signal) OVERRIDE;
private:
FakeServer* const fake_server_;
};
}
#endif