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

Unified Diff: sync/internal_api/syncapi_server_connection_manager_unittest.cc

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/syncapi_server_connection_manager_unittest.cc
diff --git a/sync/internal_api/syncapi_server_connection_manager_unittest.cc b/sync/internal_api/syncapi_server_connection_manager_unittest.cc
index 10dc311832c23104d9dc10c2961467950ec0deda..9cd6500056fb2c69eecc2e57f14fe4b617aedb6b 100644
--- a/sync/internal_api/syncapi_server_connection_manager_unittest.cc
+++ b/sync/internal_api/syncapi_server_connection_manager_unittest.cc
@@ -17,6 +17,10 @@
#include "sync/internal_api/public/http_post_provider_interface.h"
#include "testing/gtest/include/gtest/gtest.h"
+namespace net {
+class URLFetcher;
+}
+
namespace syncer {
namespace {
@@ -51,7 +55,9 @@ class BlockingHttpPost : public HttpPostProviderInterface {
class BlockingHttpPostFactory : public HttpPostProviderFactory {
public:
~BlockingHttpPostFactory() override {}
- 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 {}
HttpPostProviderInterface* Create() override {
return new BlockingHttpPost();
}

Powered by Google App Engine
This is Rietveld 408576698