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

Side by Side Diff: chrome/browser/chromeos/login/supervised/supervised_user_creation_flow.h

Issue 2513473006: Stop running arc container on supervised user creation flow (Closed)
Patch Set: rebased Created 4 years 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_FLOW_H _ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_FLOW_H _
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_FLOW_H _ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_FLOW_H _
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
11 #include "chrome/browser/chromeos/login/user_flow.h" 11 #include "chrome/browser/chromeos/login/user_flow.h"
12 #include "components/user_manager/user.h" 12 #include "components/user_manager/user.h"
13 13
14 class AccountId; 14 class AccountId;
15 class Profile; 15 class Profile;
16 16
17 namespace chromeos { 17 namespace chromeos {
18 18
19 // UserFlow implementation for creating new supervised user. 19 // UserFlow implementation for creating new supervised user.
20 class SupervisedUserCreationFlow : public ExtendedUserFlow { 20 class SupervisedUserCreationFlow : public ExtendedUserFlow {
21 public: 21 public:
22 explicit SupervisedUserCreationFlow(const AccountId& manager_id); 22 explicit SupervisedUserCreationFlow(const AccountId& manager_id);
23 ~SupervisedUserCreationFlow() override; 23 ~SupervisedUserCreationFlow() override;
24 24
25 bool CanLockScreen() override; 25 bool CanLockScreen() override;
26 bool CanStartArc() override;
26 bool ShouldShowSettings() override; 27 bool ShouldShowSettings() override;
27 bool ShouldShowNotificationTray() override; 28 bool ShouldShowNotificationTray() override;
28 bool ShouldLaunchBrowser() override; 29 bool ShouldLaunchBrowser() override;
29 bool ShouldSkipPostLoginScreens() override; 30 bool ShouldSkipPostLoginScreens() override;
30 bool SupportsEarlyRestartToApplyFlags() override; 31 bool SupportsEarlyRestartToApplyFlags() override;
31 bool HandleLoginFailure(const AuthFailure& failure) override; 32 bool HandleLoginFailure(const AuthFailure& failure) override;
32 void HandleLoginSuccess(const UserContext& context) override; 33 void HandleLoginSuccess(const UserContext& context) override;
33 bool HandlePasswordChangeDetected() override; 34 bool HandlePasswordChangeDetected() override;
34 void HandleOAuthTokenStatusChange( 35 void HandleOAuthTokenStatusChange(
35 user_manager::User::OAuthTokenStatus status) override; 36 user_manager::User::OAuthTokenStatus status) override;
(...skipping 17 matching lines...) Expand all
53 bool session_started_; 54 bool session_started_;
54 55
55 Profile* manager_profile_; 56 Profile* manager_profile_;
56 57
57 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationFlow); 58 DISALLOW_COPY_AND_ASSIGN(SupervisedUserCreationFlow);
58 }; 59 };
59 60
60 } // namespace chromeos 61 } // namespace chromeos
61 62
62 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_FLO W_H_ 63 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SUPERVISED_SUPERVISED_USER_CREATION_FLO W_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698