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

Side by Side Diff: chrome/browser/metrics/rappor/sampling.h

Issue 311133006: Add more Rappor metrics (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 6 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/metrics/rappor/OWNERS ('k') | chrome/browser/metrics/rappor/sampling.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 CHROME_BROWSER_METRICS_RAPPOR_SAMPLING_H_
6 #define CHROME_BROWSER_METRICS_RAPPOR_SAMPLING_H_
7
8 #include <string>
9
10 class GURL;
11
12 namespace rappor {
13
14 // Records the domain and registry of a url to a Rappor metric.
15 // If the Rappor service is NULL, such as during tests, this call does nothing.
16 void SampleDomainAndRegistryFromGURL(const std::string& metric,
17 const GURL& gurl);
18
19 // Records the domain and registry of a host to a Rappor metric.
20 // If the Rappor service is NULL, such as during tests, this call does nothing.
21 void SampleDomainAndRegistryFromHost(const std::string& metric,
22 const std::string& host);
23
24 } // namespace rappor
25
26 #endif // CHROME_BROWSER_METRICS_RAPPOR_SAMPLING_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/rappor/OWNERS ('k') | chrome/browser/metrics/rappor/sampling.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698