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

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

Issue 2376123003: [Sync] Move //components/sync to the syncer namespace. (Closed)
Patch Set: Rebase. Created 4 years, 3 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 5dfbe3db1ae3ec50b8f6af6118f665a80b15213b..ebdc6b2ff4f83ef1f5fd315483252c7c1beec771 100644
--- a/components/sync/core/http_bridge_unittest.cc
+++ b/components/sync/core/http_bridge_unittest.cc
@@ -465,14 +465,13 @@ TEST_F(MAYBE_SyncHttpBridgeTest, AbortAndReleaseBeforeFetchComplete) {
void HttpBridgeRunOnSyncThread(
net::URLRequestContextGetter* baseline_context_getter,
CancelationSignal* factory_cancelation_signal,
- syncer::HttpPostProviderFactory** bridge_factory_out,
- syncer::HttpPostProviderInterface** bridge_out,
+ HttpPostProviderFactory** bridge_factory_out,
+ HttpPostProviderInterface** bridge_out,
base::WaitableEvent* signal_when_created,
base::WaitableEvent* wait_for_shutdown) {
- std::unique_ptr<syncer::HttpBridgeFactory> bridge_factory(
- new syncer::HttpBridgeFactory(baseline_context_getter,
- NetworkTimeUpdateCallback(),
- factory_cancelation_signal));
+ std::unique_ptr<HttpBridgeFactory> bridge_factory(new HttpBridgeFactory(
+ baseline_context_getter, NetworkTimeUpdateCallback(),
+ factory_cancelation_signal));
bridge_factory->Init("test", BindToTrackerCallback());
*bridge_factory_out = bridge_factory.get();
@@ -497,8 +496,8 @@ TEST_F(MAYBE_SyncHttpBridgeTest, RequestContextGetterReleaseOrder) {
base::Thread sync_thread("SyncThread");
sync_thread.Start();
- syncer::HttpPostProviderFactory* factory = NULL;
- syncer::HttpPostProviderInterface* bridge = NULL;
+ HttpPostProviderFactory* factory = NULL;
+ HttpPostProviderInterface* bridge = NULL;
scoped_refptr<net::URLRequestContextGetter> baseline_context_getter(
new net::TestURLRequestContextGetter(io_thread()->task_runner()));
@@ -563,7 +562,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<syncer::HttpBridgeFactory> factory(new HttpBridgeFactory(
+ std::unique_ptr<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