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

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

Issue 1330443002: Report data usage UMA for Chrome services (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@NewArchServices
Patch Set: Do the necessary plumbing for sync service. Created 5 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
Index: sync/internal_api/public/http_post_provider_factory.h
diff --git a/sync/internal_api/public/http_post_provider_factory.h b/sync/internal_api/public/http_post_provider_factory.h
index 93466514ffb09745b01ea4f1831fac79faeceb49..c7feec49b37fd4dcdf20e5b84e946ffa11ed9a35 100644
--- a/sync/internal_api/public/http_post_provider_factory.h
+++ b/sync/internal_api/public/http_post_provider_factory.h
@@ -7,8 +7,13 @@
#include <string>
+#include "base/callback.h"
#include "sync/base/sync_export.h"
+namespace net {
+class URLFetcher;
+}
+
namespace syncer {
class HttpPostProviderInterface;
@@ -21,7 +26,9 @@ class SYNC_EXPORT HttpPostProviderFactory {
public:
virtual ~HttpPostProviderFactory() {}
- virtual void Init(const std::string& user_agent) = 0;
+ virtual void Init(
+ const std::string& user_agent,
+ base::Callback<void(net::URLFetcher*)> bind_to_tracker_callback) = 0;
// Obtain a new HttpPostProviderInterface instance, owned by caller.
virtual HttpPostProviderInterface* Create() = 0;

Powered by Google App Engine
This is Rietveld 408576698