Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: components/sync/core/http_bridge_network_resources.cc

Issue 2408463002: [Sync] Move network-related code from core/ to engine/net/. (Closed)
Patch Set: Use SyncServerConnectionManager instead of ServerConnectionManagerImpl. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/core/http_bridge_network_resources.h ('k') | components/sync/core/http_bridge_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/http_bridge_network_resources.cc
diff --git a/components/sync/core/http_bridge_network_resources.cc b/components/sync/core/http_bridge_network_resources.cc
deleted file mode 100644
index 92441f5918ec956663a3c826b8162142862065ef..0000000000000000000000000000000000000000
--- a/components/sync/core/http_bridge_network_resources.cc
+++ /dev/null
@@ -1,27 +0,0 @@
-// 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.
-
-#include "components/sync/core/http_bridge_network_resources.h"
-
-#include "base/memory/ptr_util.h"
-#include "components/sync/base/cancelation_signal.h"
-#include "components/sync/core/http_bridge.h"
-#include "components/sync/core/http_post_provider_factory.h"
-#include "net/url_request/url_request_context_getter.h"
-
-namespace syncer {
-
-HttpBridgeNetworkResources::~HttpBridgeNetworkResources() {}
-
-std::unique_ptr<HttpPostProviderFactory>
-HttpBridgeNetworkResources::GetHttpPostProviderFactory(
- const scoped_refptr<net::URLRequestContextGetter>& baseline_context_getter,
- const NetworkTimeUpdateCallback& network_time_update_callback,
- CancelationSignal* cancelation_signal) {
- return base::WrapUnique<HttpPostProviderFactory>(
- new HttpBridgeFactory(baseline_context_getter,
- network_time_update_callback, cancelation_signal));
-}
-
-} // namespace syncer
« no previous file with comments | « components/sync/core/http_bridge_network_resources.h ('k') | components/sync/core/http_bridge_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698