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

Unified Diff: sync/internal_api/sync_manager_impl_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/sync_manager_impl_unittest.cc
diff --git a/sync/internal_api/sync_manager_impl_unittest.cc b/sync/internal_api/sync_manager_impl_unittest.cc
index 6aee8e3d757b9073c358db54bbd9e7131251adac..d90dff7849a41740b8a33b2a7bfab6c4340ef4c7 100644
--- a/sync/internal_api/sync_manager_impl_unittest.cc
+++ b/sync/internal_api/sync_manager_impl_unittest.cc
@@ -75,6 +75,10 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
+namespace net {
+class URLFetcher;
+}
+
using base::ExpectDictStringValue;
using testing::_;
using testing::DoAll;
@@ -801,7 +805,9 @@ class TestHttpPostProviderInterface : public HttpPostProviderInterface {
class TestHttpPostProviderFactory : public HttpPostProviderFactory {
public:
~TestHttpPostProviderFactory() 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 TestHttpPostProviderInterface();
}

Powered by Google App Engine
This is Rietveld 408576698