Chromium Code Reviews| Index: components/metrics/metrics_log_base.h |
| diff --git a/chrome/common/metrics/metrics_log_base.h b/components/metrics/metrics_log_base.h |
| similarity index 92% |
| rename from chrome/common/metrics/metrics_log_base.h |
| rename to components/metrics/metrics_log_base.h |
| index f0124d83132a50b5b825c2b14bfcdca885c84477..efa476a515c9a49f8936b74e8aabd758c42d320e 100644 |
| --- a/chrome/common/metrics/metrics_log_base.h |
| +++ b/components/metrics/metrics_log_base.h |
| @@ -5,23 +5,21 @@ |
| // This file defines a set of user experience metrics data recorded by |
| // the MetricsService. This is the unit of data that is sent to the server. |
| -#ifndef CHROME_COMMON_METRICS_METRICS_LOG_BASE_H_ |
| -#define CHROME_COMMON_METRICS_METRICS_LOG_BASE_H_ |
| +#ifndef COMPONENTS_METRICS_METRICS_LOG_BASE_H_ |
| +#define COMPONENTS_METRICS_METRICS_LOG_BASE_H_ |
| #include <string> |
| #include "base/basictypes.h" |
| #include "base/metrics/histogram.h" |
| #include "base/time/time.h" |
| -#include "chrome/common/metrics/proto/chrome_user_metrics_extension.pb.h" |
| -#include "content/public/common/page_transition_types.h" |
| - |
| -class GURL; |
| +#include "components/metrics/proto/chrome_user_metrics_extension.pb.h" |
| namespace base { |
| class HistogramSamples; |
| } // namespace base |
| +namespace metrics { |
|
Ilya Sherman
2014/04/15 23:00:40
nit: There should be a blank line after this one.
|
| // This class provides base functionality for logging metrics data. |
| class MetricsLogBase { |
| public: |
| @@ -105,5 +103,6 @@ class MetricsLogBase { |
| DISALLOW_COPY_AND_ASSIGN(MetricsLogBase); |
| }; |
| +} // namespace metrics |
|
Ilya Sherman
2014/04/15 23:00:40
nit: And, correspondingly, a blank line before thi
|
| -#endif // CHROME_COMMON_METRICS_METRICS_LOG_BASE_H_ |
| +#endif // COMPONENTS_METRICS_METRICS_LOG_BASE_H_ |