| Index: base/metrics/histogram_sender.h
|
| ===================================================================
|
| --- base/metrics/histogram_sender.h (working copy)
|
| +++ base/metrics/histogram_sender.h (working copy)
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_COMMON_METRICS_HISTOGRAM_SENDER_H_
|
| -#define CHROME_COMMON_METRICS_HISTOGRAM_SENDER_H_
|
| +#ifndef BASE_METRICS_HISTOGRAM_SENDER_H_
|
| +#define BASE_METRICS_HISTOGRAM_SENDER_H_
|
| #pragma once
|
|
|
| #include <map>
|
| @@ -13,6 +13,8 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/metrics/histogram.h"
|
|
|
| +namespace base {
|
| +
|
| // HistogramSender handles the logistics of gathering up available histograms
|
| // for transmission (such as from renderer to browser, or from browser to UMA
|
| // upload). It has several pure virtual functions that are replaced in
|
| @@ -22,7 +24,11 @@
|
| // corruption, this class also validates as much rendundancy as it can before
|
| // calling for the marginal change (a.k.a., delta) in a histogram to be sent
|
| // onward.
|
| -class HistogramSender {
|
| +class BASE_EXPORT HistogramSender {
|
| + public:
|
| + // Send the histogram data from renderer or child processes.
|
| + virtual void SendHistograms(int sequence_number) = 0;
|
| +
|
| protected:
|
| HistogramSender();
|
| virtual ~HistogramSender();
|
| @@ -64,4 +70,6 @@
|
| DISALLOW_COPY_AND_ASSIGN(HistogramSender);
|
| };
|
|
|
| -#endif // CHROME_COMMON_METRICS_HISTOGRAM_SENDER_H_
|
| +} // namespace base
|
| +
|
| +#endif // BASE_METRICS_HISTOGRAM_SENDER_H_
|
|
|