| 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 #ifndef CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ |
| 6 #define CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ |
| 7 | 7 |
| 8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
| 9 #include "chrome/browser/profiles/profile_metrics.h" | 9 #include "chrome/browser/profiles/profile_metrics.h" |
| 10 #include "chrome/browser/ui/host_desktop.h" | 10 #include "chrome/browser/ui/host_desktop.h" |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 const base::Callback<void(Profile*, const std::string&)>& callback); | 78 const base::Callback<void(Profile*, const std::string&)>& callback); |
| 79 | 79 |
| 80 // Based on the |profile| preferences, determines whether a user manager | 80 // Based on the |profile| preferences, determines whether a user manager |
| 81 // tutorial needs to be shown, and displays the user manager with or without | 81 // tutorial needs to be shown, and displays the user manager with or without |
| 82 // the tutorial. | 82 // the tutorial. |
| 83 void ShowUserManagerMaybeWithTutorial(Profile* profile); | 83 void ShowUserManagerMaybeWithTutorial(Profile* profile); |
| 84 | 84 |
| 85 // Enables new profile management preview and shows the user manager tutorial. | 85 // Enables new profile management preview and shows the user manager tutorial. |
| 86 void EnableNewProfileManagementPreview(); | 86 void EnableNewProfileManagementPreview(); |
| 87 | 87 |
| 88 // Disables new profile management preview and attempts to relaunch Chrome. |
| 89 void DisableNewProfileManagementPreview(); |
| 90 |
| 88 } // namespace profiles | 91 } // namespace profiles |
| 89 | 92 |
| 90 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ | 93 #endif // CHROME_BROWSER_PROFILES_PROFILE_WINDOW_H_ |
| OLD | NEW |