| OLD | NEW |
| 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 "chrome/browser/chromeos/first_run/step_names.h" | 5 #include "chrome/browser/chromeos/first_run/step_names.h" |
| 6 | 6 |
| 7 namespace chromeos { | 7 namespace chromeos { |
| 8 namespace first_run { | 8 namespace first_run { |
| 9 | 9 |
| 10 // This values should be synced with ids of corresponding steps in HTML-side. |
| 11 // Also there are metric recording how much time user spent on every step. |
| 12 // Metric's name has format "CrosFirstRun.TimeSpentOn[StepName]Step", where |
| 13 // |StepName| is camel-cased version of |step-name|. Corresponding record |
| 14 // should be added to "histograms.xml" file for every step listed here. |
| 10 const char kAppListStep[] = "app-list"; | 15 const char kAppListStep[] = "app-list"; |
| 11 const char kTrayStep[] = "tray"; | 16 const char kTrayStep[] = "tray"; |
| 12 const char kHelpStep[] = "help"; | 17 const char kHelpStep[] = "help"; |
| 13 | 18 |
| 14 } // namespace first_run | 19 } // namespace first_run |
| 15 } // namespace chromeos | 20 } // namespace chromeos |
| 16 | 21 |
| OLD | NEW |