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

Unified Diff: sync/internal_api/public/http_post_provider_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_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..29aa3500681866fe0e35c8d72e7299d6e18b7b1d 100644
--- a/sync/internal_api/public/http_post_provider_factory.h
+++ b/sync/internal_api/public/http_post_provider_factory.h
@@ -11,6 +11,7 @@
namespace syncer {
+class CancelationSignal;
class HttpPostProviderInterface;
// A factory to create HttpPostProviders to hide details about the
@@ -23,6 +24,9 @@ class SYNC_EXPORT HttpPostProviderFactory {
virtual void Init(const std::string& user_agent) = 0;
+ virtual void RegisterCancelationSignal(
+ CancelationSignal* cancelation_signal) = 0;
+
// Obtain a new HttpPostProviderInterface instance, owned by caller.
virtual HttpPostProviderInterface* Create() = 0;
« chrome/browser/sync/profile_sync_service.h ('K') | « sync/internal_api/public/http_bridge.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698