Index: sync/internal_api/public/network_resources.h |
diff --git a/sync/internal_api/public/network_resources.h b/sync/internal_api/public/network_resources.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..448188c61a4354b8154d8f15f2b73b013e3f0aca |
--- /dev/null |
+++ b/sync/internal_api/public/network_resources.h |
@@ -0,0 +1,33 @@ |
+// 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_NETWORK_RESOURCES_H_ |
+#define SYNC_INTERNAL_API_PUBLIC_NETWORK_RESOURCES_H_ |
+ |
+#include "base/memory/scoped_ptr.h" |
+#include "sync/base/sync_export.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 NetworkResources { |
+ public: |
+ virtual ~NetworkResources() {} |
+ |
+ virtual scoped_ptr<HttpPostProviderFactory> GetHttpPostProviderFactory( |
+ net::URLRequestContextGetter* baseline_context_getter, |
+ const NetworkTimeUpdateCallback& network_time_update_callback, |
+ CancelationSignal* cancelation_signal) = 0; |
+}; |
+ |
+} // namespace syncer |
+ |
+#endif // SYNC_INTERNAL_API_PUBLIC_NETWORK_RESOURCES_H_ |