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..94e23f5ff47d537485d5f219da3621e55fc5efc2 |
--- /dev/null |
+++ b/sync/internal_api/http_bridge_factory_factory.cc |
@@ -0,0 +1,28 @@ |
+// 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 "base/memory/scoped_ptr.h" |
+#include "net/url_request/url_request_context_getter.h" |
+#include "sync/internal_api/public/base/cancelation_signal.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() {} |
+ |
+scoped_ptr<HttpPostProviderFactory> HttpBridgeFactoryFactory::Create( |
+ net::URLRequestContextGetter* baseline_context_getter, |
+ const NetworkTimeUpdateCallback& network_time_update_callback, |
+ CancelationSignal* cancelation_signal) { |
+ return make_scoped_ptr<HttpPostProviderFactory>( |
+ new HttpBridgeFactory(baseline_context_getter, |
+ network_time_update_callback, |
+ cancelation_signal)); |
+} |
+ |
+} // namespace syncer |