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

Unified Diff: chrome/browser/sync/test/test_http_bridge_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: 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;
};

Powered by Google App Engine
This is Rietveld 408576698