| 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);
|
|
|
|
|