Enable snappy for IndexedDB.
[chromium-blink-merge.git] / ash / multi_profile_uma.cc
blobb6383e4274d98434de78ef561152b1d6b17d2dc5
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.
5 #include "ash/multi_profile_uma.h"
7 #include "base/metrics/histogram.h"
9 namespace ash {
11 // static
12 void MultiProfileUMA::RecordSwitchActiveUser(SwitchActiveUserAction action) {
13 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SwitchActiveUserUIPath",
14 action,
15 NUM_SWITCH_ACTIVE_USER_ACTIONS);
18 // static
19 void MultiProfileUMA::RecordSigninUser(SigninUserAction action) {
20 UMA_HISTOGRAM_ENUMERATION("MultiProfile.SigninUserUIPath",
21 action,
22 NUM_SIGNIN_USER_ACTIONS);
25 } // namespace ash