Add NetLog to CastBrowserProcess.
[chromium-blink-merge.git] / sync / internal_api / http_bridge_network_resources.cc
blob35a1e9beb877b17f1da5e695035eda7b6d8fdcc1
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "sync/internal_api/public/http_bridge_network_resources.h"
7 #include "base/memory/scoped_ptr.h"
8 #include "net/url_request/url_request_context_getter.h"
9 #include "sync/internal_api/public/base/cancelation_signal.h"
10 #include "sync/internal_api/public/http_bridge.h"
11 #include "sync/internal_api/public/http_post_provider_factory.h"
12 #include "sync/internal_api/public/network_time_update_callback.h"
14 namespace syncer {
16 HttpBridgeNetworkResources::~HttpBridgeNetworkResources() {}
18 scoped_ptr<HttpPostProviderFactory>
19 HttpBridgeNetworkResources::GetHttpPostProviderFactory(
20 const scoped_refptr<net::URLRequestContextGetter>& baseline_context_getter,
21 const NetworkTimeUpdateCallback& network_time_update_callback,
22 CancelationSignal* cancelation_signal) {
23 return make_scoped_ptr<HttpPostProviderFactory>(
24 new HttpBridgeFactory(baseline_context_getter,
25 network_time_update_callback,
26 cancelation_signal));
29 } // namespace syncer