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 07829c9c65d18f6ca93fe8f94ca9104df3f2d5c0..31379d2d86eccc7b7c5dec027a2cbbbed9bdc8f0 100644 |
--- a/chrome/browser/sync/test/test_http_bridge_factory.h |
+++ b/chrome/browser/sync/test/test_http_bridge_factory.h |
@@ -5,10 +5,15 @@ |
#ifndef CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ |
#define CHROME_BROWSER_SYNC_TEST_TEST_HTTP_BRIDGE_FACTORY_H_ |
+#include "base/callback.h" |
#include "base/compiler_specific.h" |
#include "sync/internal_api/public/http_post_provider_factory.h" |
#include "sync/internal_api/public/http_post_provider_interface.h" |
+namespace net { |
+class URLFetcher; |
+} |
+ |
namespace browser_sync { |
class TestHttpBridge : public syncer::HttpPostProviderInterface { |
@@ -40,7 +45,9 @@ class TestHttpBridgeFactory : public syncer::HttpPostProviderFactory { |
~TestHttpBridgeFactory() override; |
// syncer::HttpPostProviderFactory: |
- void Init(const std::string& user_agent) override; |
+ void Init( |
+ const std::string& user_agent, |
+ base::Callback<void(net::URLFetcher*)> bind_to_tracker_callback) override; |
syncer::HttpPostProviderInterface* Create() override; |
void Destroy(syncer::HttpPostProviderInterface* http) override; |
}; |