diff options
author | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 18:14:28 +0000 |
---|---|---|
committer | evan@chromium.org <evan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-23 18:14:28 +0000 |
commit | 89622004872be7f7ddaa24fa1694f76c7b9539b6 (patch) | |
tree | 81b8a42c7649c8cbca99d04305470ccbc1fe61fa /chrome/browser/options_page_base.cc | |
parent | b7544eef7b81458a88597419eed6617c41e6d3dc (diff) | |
download | chromium_src-89622004872be7f7ddaa24fa1694f76c7b9539b6.zip chromium_src-89622004872be7f7ddaa24fa1694f76c7b9539b6.tar.gz chromium_src-89622004872be7f7ddaa24fa1694f76c7b9539b6.tar.bz2 |
UMA cleanup. Replacing calls to RecordAction(char*) to use a new structure.
That way it is easier to keep track of those constants in reporting tools.
TEST=Covered with standard ui tests
Patch by Frank Mantek <fmantek@google.com>.
Review URL: http://codereview.chromium.org/811005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42362 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/options_page_base.cc')
-rw-r--r-- | chrome/browser/options_page_base.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/options_page_base.cc b/chrome/browser/options_page_base.cc index f46b74e..260fb5b 100644 --- a/chrome/browser/options_page_base.cc +++ b/chrome/browser/options_page_base.cc @@ -18,9 +18,9 @@ OptionsPageBase::OptionsPageBase(Profile* profile) OptionsPageBase::~OptionsPageBase() { } -void OptionsPageBase::UserMetricsRecordAction(const char* action, +void OptionsPageBase::UserMetricsRecordAction(const UserMetricsAction& action, PrefService* prefs) { - UserMetrics::RecordComputedAction(action, profile()); + UserMetrics::RecordAction(action, profile()); if (prefs) prefs->ScheduleSavePersistentPrefs(); } |