Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1083)

Side by Side Diff: ash/metrics/user_metrics_recorder.cc

Issue 302003014: UserMetricsRecorder: Add missing break statement. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ash/metrics/user_metrics_recorder.h" 5 #include "ash/metrics/user_metrics_recorder.h"
6 6
7 #include "ash/shelf/shelf_layout_manager.h" 7 #include "ash/shelf/shelf_layout_manager.h"
8 #include "ash/shelf/shelf_view.h" 8 #include "ash/shelf/shelf_view.h"
9 #include "ash/shelf/shelf_widget.h" 9 #include "ash/shelf/shelf_widget.h"
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 base::RecordAction( 97 base::RecordAction(
98 base::UserMetricsAction("Shelf_AlignmentSetBottom")); 98 base::UserMetricsAction("Shelf_AlignmentSetBottom"));
99 break; 99 break;
100 case ash::UMA_SHELF_ALIGNMENT_SET_LEFT: 100 case ash::UMA_SHELF_ALIGNMENT_SET_LEFT:
101 base::RecordAction( 101 base::RecordAction(
102 base::UserMetricsAction("Shelf_AlignmentSetLeft")); 102 base::UserMetricsAction("Shelf_AlignmentSetLeft"));
103 break; 103 break;
104 case ash::UMA_SHELF_ALIGNMENT_SET_RIGHT: 104 case ash::UMA_SHELF_ALIGNMENT_SET_RIGHT:
105 base::RecordAction( 105 base::RecordAction(
106 base::UserMetricsAction("Shelf_AlignmentSetRight")); 106 base::UserMetricsAction("Shelf_AlignmentSetRight"));
107 break;
107 case ash::UMA_STATUS_AREA_AUDIO_CURRENT_INPUT_DEVICE: 108 case ash::UMA_STATUS_AREA_AUDIO_CURRENT_INPUT_DEVICE:
108 base::RecordAction( 109 base::RecordAction(
109 base::UserMetricsAction("StatusArea_Audio_CurrentInputDevice")); 110 base::UserMetricsAction("StatusArea_Audio_CurrentInputDevice"));
110 break; 111 break;
111 case ash::UMA_STATUS_AREA_AUDIO_CURRENT_OUTPUT_DEVICE: 112 case ash::UMA_STATUS_AREA_AUDIO_CURRENT_OUTPUT_DEVICE:
112 base::RecordAction( 113 base::RecordAction(
113 base::UserMetricsAction("StatusArea_Audio_CurrentOutputDevice")); 114 base::UserMetricsAction("StatusArea_Audio_CurrentOutputDevice"));
114 break; 115 break;
115 case ash::UMA_STATUS_AREA_AUDIO_SWITCH_INPUT_DEVICE: 116 case ash::UMA_STATUS_AREA_AUDIO_SWITCH_INPUT_DEVICE:
116 base::RecordAction( 117 base::RecordAction(
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 active_window_state_type = ACTIVE_WINDOW_STATE_TYPE_OTHER; 422 active_window_state_type = ACTIVE_WINDOW_STATE_TYPE_OTHER;
422 break; 423 break;
423 } 424 }
424 } 425 }
425 UMA_HISTOGRAM_ENUMERATION("Ash.ActiveWindowShowTypeOverTime", 426 UMA_HISTOGRAM_ENUMERATION("Ash.ActiveWindowShowTypeOverTime",
426 active_window_state_type, 427 active_window_state_type,
427 ACTIVE_WINDOW_STATE_TYPE_COUNT); 428 ACTIVE_WINDOW_STATE_TYPE_COUNT);
428 } 429 }
429 430
430 } // namespace ash 431 } // namespace ash
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698