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

Unified Diff: chrome/browser/sync/test/test_http_bridge_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: chrome/browser/sync/test/test_http_bridge_factory.h
diff --git a/chrome/browser/sync/test/test_http_bridge_factory.h b/chrome/browser/sync/test/test_http_bridge_factory.h
index 145d1464ebf6c02f24c07d02163fa2a9d5c029e8..4c319d0ebb017c36167635c86d23302330a0a822 100644
--- a/chrome/browser/sync/test/test_http_bridge_factory.h
+++ b/chrome/browser/sync/test/test_http_bridge_factory.h
@@ -9,6 +9,10 @@
#include "sync/internal_api/public/http_post_provider_factory.h"
#include "sync/internal_api/public/http_post_provider_interface.h"
+namespace syncer {
+class CancelationSignal;
+}
+
namespace browser_sync {
class TestHttpBridge : public syncer::HttpPostProviderInterface {
@@ -43,6 +47,8 @@ class TestHttpBridgeFactory : public syncer::HttpPostProviderFactory {
// syncer::HttpPostProviderFactory:
virtual void Init(const std::string& user_agent) OVERRIDE;
+ virtual void RegisterCancelationSignal(
+ syncer::CancelationSignal* cancelation_signal) OVERRIDE;
virtual syncer::HttpPostProviderInterface* Create() OVERRIDE;
virtual void Destroy(syncer::HttpPostProviderInterface* http) OVERRIDE;
};

Powered by Google App Engine
This is Rietveld 408576698