multi_profile_uma.cc 510 B

1234567891011121314151617
  1. // Copyright 2013 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ash/multi_profile_uma.h"
  5. #include "base/metrics/histogram_macros.h"
  6. namespace ash {
  7. // static
  8. void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) {
  9. UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath", action,
  10. NUM_SWITCH_ACTIVE_USER_ACTIONS);
  11. }
  12. } // namespace ash