| Index: chrome/browser/about_flags.cc
|
| diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
| index 6155c6346f0d1d6508f3282c294bb6952bf64b10..d8bfd3029abd36d26b72eea624888a2c2a430a5f 100644
|
| --- a/chrome/browser/about_flags.cc
|
| +++ b/chrome/browser/about_flags.cc
|
| @@ -19,7 +19,7 @@
|
| #include "chrome/common/chrome_content_client.h"
|
| #include "chrome/common/chrome_switches.h"
|
| #include "chrome/common/pref_names.h"
|
| -#include "content/browser/user_metrics.h"
|
| +#include "content/public/browser/user_metrics.h"
|
| #include "grit/generated_resources.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/gfx/gl/gl_switches.h"
|
| @@ -28,6 +28,8 @@
|
| #include "ui/aura/aura_switches.h"
|
| #endif
|
|
|
| +using content::UserMetricsAction;
|
| +
|
| namespace about_flags {
|
|
|
| // Macros to simplify specifying the type.
|
| @@ -688,13 +690,13 @@ void RecordUMAStatistics(const PrefService* prefs) {
|
| ++it) {
|
| std::string action("AboutFlags_");
|
| action += *it;
|
| - UserMetrics::RecordComputedAction(action);
|
| + content::RecordComputedAction(action);
|
| }
|
| // Since flag metrics are recorded every startup, add a tick so that the
|
| // stats can be made meaningful.
|
| if (flags.size())
|
| - UserMetrics::RecordAction(UserMetricsAction("AboutFlags_StartupTick"));
|
| - UserMetrics::RecordAction(UserMetricsAction("StartupTick"));
|
| + content::RecordAction(UserMetricsAction("AboutFlags_StartupTick"));
|
| + content::RecordAction(UserMetricsAction("StartupTick"));
|
| }
|
|
|
| //////////////////////////////////////////////////////////////////////////////
|
|
|