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

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

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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/delete_journal.cc ('k') | components/sync/core/internal_components_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/core/http_bridge_unittest.cc
diff --git a/components/sync/core/http_bridge_unittest.cc b/components/sync/core/http_bridge_unittest.cc
index ebdc6b2ff4f83ef1f5fd315483252c7c1beec771..5dfbe3db1ae3ec50b8f6af6118f665a80b15213b 100644
--- a/components/sync/core/http_bridge_unittest.cc
+++ b/components/sync/core/http_bridge_unittest.cc
@@ -465,13 +465,14 @@ TEST_F(MAYBE_SyncHttpBridgeTest, AbortAndReleaseBeforeFetchComplete) {
void HttpBridgeRunOnSyncThread(
net::URLRequestContextGetter* baseline_context_getter,
CancelationSignal* factory_cancelation_signal,
- HttpPostProviderFactory** bridge_factory_out,
- HttpPostProviderInterface** bridge_out,
+ syncer::HttpPostProviderFactory** bridge_factory_out,
+ syncer::HttpPostProviderInterface** bridge_out,
base::WaitableEvent* signal_when_created,
base::WaitableEvent* wait_for_shutdown) {
- std::unique_ptr<HttpBridgeFactory> bridge_factory(new HttpBridgeFactory(
- baseline_context_getter, NetworkTimeUpdateCallback(),
- factory_cancelation_signal));
+ std::unique_ptr<syncer::HttpBridgeFactory> bridge_factory(
+ new syncer::HttpBridgeFactory(baseline_context_getter,
+ NetworkTimeUpdateCallback(),
+ factory_cancelation_signal));
bridge_factory->Init("test", BindToTrackerCallback());
*bridge_factory_out = bridge_factory.get();
@@ -496,8 +497,8 @@ TEST_F(MAYBE_SyncHttpBridgeTest, RequestContextGetterReleaseOrder) {
base::Thread sync_thread("SyncThread");
sync_thread.Start();
- HttpPostProviderFactory* factory = NULL;
- HttpPostProviderInterface* bridge = NULL;
+ syncer::HttpPostProviderFactory* factory = NULL;
+ syncer::HttpPostProviderInterface* bridge = NULL;
scoped_refptr<net::URLRequestContextGetter> baseline_context_getter(
new net::TestURLRequestContextGetter(io_thread()->task_runner()));
@@ -562,7 +563,7 @@ TEST_F(MAYBE_SyncHttpBridgeTest, EarlyAbortFactory) {
// UI Thread: Initialize the HttpBridgeFactory. The next step would be to
// post a task to SBH::Core to have it initialized.
- std::unique_ptr<HttpBridgeFactory> factory(new HttpBridgeFactory(
+ std::unique_ptr<syncer::HttpBridgeFactory> factory(new HttpBridgeFactory(
baseline_context_getter.get(), NetworkTimeUpdateCallback(),
&release_request_context_signal));
« no previous file with comments | « components/sync/core/delete_journal.cc ('k') | components/sync/core/internal_components_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698