blob: bd97da1af7e48a3dd7c2417bbf1849af03264016 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_NETWORK_RESOURCES_H_
#define SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_NETWORK_RESOURCES_H_
#include "base/memory/scoped_ptr.h"
#include "sync/base/sync_export.h"
#include "sync/internal_api/public/network_resources.h"
#include "sync/internal_api/public/network_time_update_callback.h"
namespace net {
class URLRequestContextGetter;
} // namespace net
namespace syncer {
class CancelationSignal;
class HttpPostProviderFactory;
class SYNC_EXPORT HttpBridgeNetworkResources : public NetworkResources {
public:
~HttpBridgeNetworkResources() override;
// NetworkResources
scoped_ptr<HttpPostProviderFactory> GetHttpPostProviderFactory(
const scoped_refptr<net::URLRequestContextGetter>&
baseline_context_getter,
const NetworkTimeUpdateCallback& network_time_update_callback,
CancelationSignal* cancelation_signal) override;
};
} // namespace syncer
#endif // SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_NETWORK_RESOURCES_H_
|