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

Unified Diff: sync/internal_api/http_bridge_factory_factory.cc

Issue 73723006: Allow customization of HttpPostProviderFactory via ProfileSyncService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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
Index: sync/internal_api/http_bridge_factory_factory.cc
diff --git a/sync/internal_api/http_bridge_factory_factory.cc b/sync/internal_api/http_bridge_factory_factory.cc
new file mode 100644
index 0000000000000000000000000000000000000000..14d5080641a34ae1d1becaa7503e92a7c8b89967
--- /dev/null
+++ b/sync/internal_api/http_bridge_factory_factory.cc
@@ -0,0 +1,23 @@
+// 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 "sync/internal_api/public/http_bridge_factory_factory.h"
+
+#include "net/url_request/url_request_context_getter.h"
+#include "sync/internal_api/public/http_bridge.h"
+#include "sync/internal_api/public/http_post_provider_factory.h"
+#include "sync/internal_api/public/network_time_update_callback.h"
+
+namespace syncer {
+
+HttpBridgeFactoryFactory::~HttpBridgeFactoryFactory() {}
+
+HttpPostProviderFactory* HttpBridgeFactoryFactory::Create(
+ net::URLRequestContextGetter* baseline_context_getter,
+ const NetworkTimeUpdateCallback& network_time_update_callback) {
+ return new HttpBridgeFactory(baseline_context_getter,
+ network_time_update_callback);
+}
+
+} // namespace syncer

Powered by Google App Engine
This is Rietveld 408576698