Chromium Code Reviews| Index: components/cronet/histogram_manager.h |
| diff --git a/components/metrics/histogram_manager.h b/components/cronet/histogram_manager.h |
| similarity index 77% |
| rename from components/metrics/histogram_manager.h |
| rename to components/cronet/histogram_manager.h |
| index 7334ae35f29a0305efdb6fc5d85b3288fdbd73fa..f13b84fd6d98b78d203325a04fd1cf449b143a20 100644 |
| --- a/components/metrics/histogram_manager.h |
| +++ b/components/cronet/histogram_manager.h |
| @@ -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 COMPONENTS_METRICS_HISTOGRAM_MANAGER_H_ |
| -#define COMPONENTS_METRICS_HISTOGRAM_MANAGER_H_ |
| +#ifndef COMPONENTS_CRONET_HISTOGRAM_MANAGER_H_ |
| +#define COMPONENTS_CRONET_HISTOGRAM_MANAGER_H_ |
| #include <string> |
| #include <vector> |
| @@ -16,14 +16,11 @@ |
| #include "base/metrics/histogram_snapshot_manager.h" |
| #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" |
| -namespace metrics { |
| +namespace cronet { |
| -// TODO(mef): crbug.com/441441. Move components/metrics/histogram_manager.* |
| -// files into components/android/cronet. |
| -// |
| -// A HistogramManager instance is created by Android. It is the central |
| -// controller for the acquisition of log data, and the automatic transmission of |
| -// that log data to an external server. |
| +// A HistogramManager instance is created by the app. It is the central |
|
xunjieli
2015/04/08 21:30:51
nit: there are two spaces after .
|
| +// controller for the acquisition of log data, and recoding deltas for |
| +// transmission to an external server. |
| class HistogramManager : public base::HistogramFlattener { |
| public: |
| HistogramManager(); |
| @@ -57,6 +54,6 @@ class HistogramManager : public base::HistogramFlattener { |
| DISALLOW_COPY_AND_ASSIGN(HistogramManager); |
| }; |
| -} // namespace metrics |
| +} // namespace cronet |
| -#endif // COMPONENTS_METRICS_HISTOGRAM_MANAGER_H_ |
| +#endif // COMPONENTS_CRONET_HISTOGRAM_MANAGER_H_ |