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

Unified Diff: components/rappor/public/rappor_utils.h

Issue 2510803003: Pass RapporService to content/browser/ (Closed)
Patch Set: Fix an Android compile error Created 4 years 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: components/rappor/public/rappor_utils.h
diff --git a/components/rappor/rappor_utils.h b/components/rappor/public/rappor_utils.h
similarity index 85%
rename from components/rappor/rappor_utils.h
rename to components/rappor/public/rappor_utils.h
index 8e425665d8eb7109aa74cdf97c990115705e0152..ffd953399012fb441f7622abb55e9c8c5d96f02e 100644
--- a/components/rappor/rappor_utils.h
+++ b/components/rappor/public/rappor_utils.h
@@ -7,17 +7,15 @@
#include <string>
-#include "components/rappor/rappor_service.h"
+#include "components/rappor/public/rappor_public_service.h"
class GURL;
namespace rappor {
-class RapporService;
-
// Records a string to a Rappor metric.
// If |rappor_service| is NULL, this call does nothing.
-void SampleString(RapporService* rappor_service,
+void SampleString(RapporPublicService* rappor_service,
const std::string& metric,
RapporType type,
const std::string& sample);
@@ -29,7 +27,7 @@ std::string GetDomainAndRegistrySampleFromGURL(const GURL& gurl);
// Records the domain and registry of a url to a Rappor metric.
// If |rappor_service| is NULL, this call does nothing.
-void SampleDomainAndRegistryFromGURL(RapporService* rappor_service,
+void SampleDomainAndRegistryFromGURL(RapporPublicService* rappor_service,
const std::string& metric,
const GURL& gurl);

Powered by Google App Engine
This is Rietveld 408576698