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

Unified Diff: sync/test/fake_server/fake_server_network_resources.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 | « sync/test/fake_server/fake_server_network_resources.h ('k') | sync/test/fake_server/fake_server_verifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/fake_server/fake_server_network_resources.cc
diff --git a/sync/test/fake_server/fake_server_network_resources.cc b/sync/test/fake_server/fake_server_network_resources.cc
deleted file mode 100644
index 3572406f43d18b9ddc38c20242d54e32e590154f..0000000000000000000000000000000000000000
--- a/sync/test/fake_server/fake_server_network_resources.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright 2014 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 "sync/test/fake_server/fake_server_network_resources.h"
-
-#include <memory>
-
-#include "base/memory/ptr_util.h"
-#include "base/memory/weak_ptr.h"
-#include "base/threading/thread_task_runner_handle.h"
-#include "sync/internal_api/public/base/cancelation_signal.h"
-#include "sync/internal_api/public/http_post_provider_factory.h"
-#include "sync/internal_api/public/network_time_update_callback.h"
-#include "sync/test/fake_server/fake_server.h"
-#include "sync/test/fake_server/fake_server_http_post_provider.h"
-
-using syncer::CancelationSignal;
-using syncer::HttpPostProviderFactory;
-using syncer::NetworkTimeUpdateCallback;
-
-namespace fake_server {
-
-FakeServerNetworkResources::FakeServerNetworkResources(
- const base::WeakPtr<FakeServer>& fake_server)
- : fake_server_(fake_server) { }
-
-FakeServerNetworkResources::~FakeServerNetworkResources() {}
-
-std::unique_ptr<syncer::HttpPostProviderFactory>
-FakeServerNetworkResources::GetHttpPostProviderFactory(
- const scoped_refptr<net::URLRequestContextGetter>& baseline_context_getter,
- const NetworkTimeUpdateCallback& network_time_update_callback,
- CancelationSignal* cancelation_signal) {
- return base::WrapUnique<syncer::HttpPostProviderFactory>(
- new FakeServerHttpPostProviderFactory(
- fake_server_, base::ThreadTaskRunnerHandle::Get()));
-}
-
-} // namespace fake_server
« no previous file with comments | « sync/test/fake_server/fake_server_network_resources.h ('k') | sync/test/fake_server/fake_server_verifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698