OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef COMPONENTS_RAPPOR_RAPPOR_UTILS_H_ | |
6 #define COMPONENTS_RAPPOR_RAPPOR_UTILS_H_ | |
7 | |
8 #include <string> | |
9 | |
10 class GURL; | |
11 | |
12 namespace rappor { | |
13 | |
14 class RapporService; | |
15 | |
16 // Record the ETLD+1 of a url to a Rappor metric. | |
Alexei Svitkine (slow)
2014/06/05 14:23:35
Nit: Mention that service may be NULL and what hap
Steven Holte
2014/06/05 20:17:07
Done.
| |
17 void SampleETLDp1(RapporService* service, | |
18 const std::string& metric, | |
19 const GURL& gurl); | |
20 | |
21 // Record the ETLD+1 of a host to a Rappor metric. | |
22 void SampleETLDp1(RapporService* service, | |
Alexei Svitkine (slow)
2014/06/05 14:23:35
Don't overload function names. Use a different nam
Steven Holte
2014/06/05 20:17:07
Done.
| |
23 const std::string& metric, | |
24 const std::string& host); | |
25 | |
26 } // namespace rappor | |
27 | |
28 #endif // COMPONENTS_RAPPOR_RAPPOR_UTILS_H_ | |
OLD | NEW |