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

Unified Diff: sync/internal_api/public/http_bridge_factory_factory.h

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/public/http_bridge_factory_factory.h
diff --git a/sync/internal_api/public/http_bridge_factory_factory.h b/sync/internal_api/public/http_bridge_factory_factory.h
new file mode 100644
index 0000000000000000000000000000000000000000..5a167bb3140dd9448d47c56af652854807197aa9
--- /dev/null
+++ b/sync/internal_api/public/http_bridge_factory_factory.h
@@ -0,0 +1,36 @@
+// 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.
+
+#ifndef SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_FACTORY_FACTORY_H_
+#define SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_FACTORY_FACTORY_H_
+
+#include "base/memory/scoped_ptr.h"
+#include "sync/base/sync_export.h"
+#include "sync/internal_api/public/http_post_provider_factory_factory.h"
+#include "sync/internal_api/public/network_time_update_callback.h"
+
+namespace net {
+class URLRequestContextGetter;
+} // namespace net
+
+namespace syncer {
+
+class CancelationSignal;
+class HttpPostProviderFactory;
+
+class SYNC_EXPORT HttpBridgeFactoryFactory
+ : public HttpPostProviderFactoryFactory {
+ public:
+ ~HttpBridgeFactoryFactory();
+
+ // HttpPostProviderFactoryFactory
+ virtual scoped_ptr<HttpPostProviderFactory> Create(
+ net::URLRequestContextGetter* baseline_context_getter,
+ const NetworkTimeUpdateCallback& network_time_update_callback,
+ CancelationSignal* cancelation_signal) OVERRIDE;
+};
+
+} // namespace syncer
+
+#endif // SYNC_INTERNAL_API_PUBLIC_HTTP_BRIDGE_FACTORY_FACTORY_H_

Powered by Google App Engine
This is Rietveld 408576698