summaryrefslogtreecommitdiffstats
path: root/chrome/browser/options_page_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/options_page_base.h')
-rw-r--r--chrome/browser/options_page_base.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/options_page_base.h b/chrome/browser/options_page_base.h
index fee43d0..013a26c 100644
--- a/chrome/browser/options_page_base.h
+++ b/chrome/browser/options_page_base.h
@@ -10,9 +10,11 @@
#include "base/basictypes.h"
#include "chrome/browser/options_window.h"
#include "chrome/common/notification_observer.h"
+#include "chrome/browser/metrics/user_metrics.h"
class PrefService;
class Profile;
+struct UserMetricsAction;
///////////////////////////////////////////////////////////////////////////////
// OptionsPageBase
@@ -40,7 +42,8 @@ class OptionsPageBase : public NotificationObserver {
Profile* profile() const { return profile_; }
// Records a user action and schedules the prefs file to be saved.
- void UserMetricsRecordAction(const char* action, PrefService* prefs);
+ void UserMetricsRecordAction(const UserMetricsAction &action,
+ PrefService* prefs);
// Allows the UI to update when a preference value changes. The parameter is
// the specific pref that changed, or NULL if all pref UI should be