| Index: chrome/browser/about_flags.cc
|
| diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
|
| index 543a83007afbb6ab9edb377abe51fd274787f4ca..3a70076ac5284f39297574462ca302aeb6e918a2 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.
|
| @@ -695,13 +697,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"));
|
| }
|
|
|
| //////////////////////////////////////////////////////////////////////////////
|
|
|