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 "base/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/macros.h" |
6 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
7 #include "base/prefs/pref_service.h" | 8 #include "base/prefs/pref_service.h" |
8 #include "chrome/browser/browser_process.h" | 9 #include "chrome/browser/browser_process.h" |
9 #include "chrome/browser/chrome_notification_types.h" | 10 #include "chrome/browser/chrome_notification_types.h" |
10 #include "chrome/browser/chromeos/first_run/first_run_controller.h" | 11 #include "chrome/browser/chromeos/first_run/first_run_controller.h" |
11 #include "chrome/browser/chromeos/profiles/profile_helper.h" | 12 #include "chrome/browser/chromeos/profiles/profile_helper.h" |
12 #include "chrome/browser/extensions/extension_service.h" | 13 #include "chrome/browser/extensions/extension_service.h" |
13 #include "chrome/browser/prefs/pref_service_syncable_util.h" | 14 #include "chrome/browser/prefs/pref_service_syncable_util.h" |
14 #include "chrome/browser/profiles/profile_manager.h" | 15 #include "chrome/browser/profiles/profile_manager.h" |
15 #include "chrome/browser/ui/extensions/app_launch_params.h" | 16 #include "chrome/browser/ui/extensions/app_launch_params.h" |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 user_manager::UserManager::Get()->GetActiveUser())); | 114 user_manager::UserManager::Get()->GetActiveUser())); |
114 } | 115 } |
115 | 116 |
116 void LaunchTutorial() { | 117 void LaunchTutorial() { |
117 UMA_HISTOGRAM_BOOLEAN("CrosFirstRun.TutorialLaunched", true); | 118 UMA_HISTOGRAM_BOOLEAN("CrosFirstRun.TutorialLaunched", true); |
118 FirstRunController::Start(); | 119 FirstRunController::Start(); |
119 } | 120 } |
120 | 121 |
121 } // namespace first_run | 122 } // namespace first_run |
122 } // namespace chromeos | 123 } // namespace chromeos |
OLD | NEW |