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/metrics/histogram.h" | 6 #include "base/metrics/histogram.h" |
7 #include "chrome/browser/chrome_notification_types.h" | 7 #include "chrome/browser/chrome_notification_types.h" |
8 #include "chrome/browser/chromeos/first_run/first_run_controller.h" | 8 #include "chrome/browser/chromeos/first_run/first_run_controller.h" |
9 #include "chrome/browser/chromeos/login/user_manager.h" | 9 #include "chrome/browser/chromeos/login/user_manager.h" |
10 #include "chrome/browser/extensions/extension_service.h" | 10 #include "chrome/browser/extensions/extension_service.h" |
11 #include "chrome/browser/ui/extensions/application_launch.h" | 11 #include "chrome/browser/ui/extensions/application_launch.h" |
12 #include "chrome/common/chrome_switches.h" | 12 #include "chrome/common/chrome_switches.h" |
13 #include "chrome/common/pref_names.h" | 13 #include "chrome/common/pref_names.h" |
14 #include "chromeos/chromeos_switches.h" | 14 #include "chromeos/chromeos_switches.h" |
15 #include "components/user_prefs/pref_registry_syncable.h" | 15 #include "components/pref_registry/pref_registry_syncable.h" |
16 #include "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
17 #include "content/public/browser/notification_registrar.h" | 17 #include "content/public/browser/notification_registrar.h" |
18 #include "content/public/browser/notification_service.h" | 18 #include "content/public/browser/notification_service.h" |
19 #include "extensions/browser/extension_system.h" | 19 #include "extensions/browser/extension_system.h" |
20 #include "extensions/common/constants.h" | 20 #include "extensions/common/constants.h" |
21 | 21 |
22 namespace chromeos { | 22 namespace chromeos { |
23 namespace first_run { | 23 namespace first_run { |
24 | 24 |
25 namespace { | 25 namespace { |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 user_manager->GetProfileByUser(user_manager->GetActiveUser())); | 101 user_manager->GetProfileByUser(user_manager->GetActiveUser())); |
102 } | 102 } |
103 | 103 |
104 void LaunchTutorial() { | 104 void LaunchTutorial() { |
105 UMA_HISTOGRAM_BOOLEAN("CrosFirstRun.TutorialLaunched", true); | 105 UMA_HISTOGRAM_BOOLEAN("CrosFirstRun.TutorialLaunched", true); |
106 FirstRunController::Start(); | 106 FirstRunController::Start(); |
107 } | 107 } |
108 | 108 |
109 } // namespace first_run | 109 } // namespace first_run |
110 } // namespace chromeos | 110 } // namespace chromeos |
OLD | NEW |