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

Unified Diff: chrome/browser/chromeos/login/managed/locally_managed_user_creation_flow.h

Issue 393343002: Rename "managed (mode|user)" to "supervised user" (part 7) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more alphabetize (and rebase again) Created 6 years, 5 months 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/managed/locally_managed_user_creation_flow.h
diff --git a/chrome/browser/chromeos/login/managed/locally_managed_user_creation_flow.h b/chrome/browser/chromeos/login/managed/locally_managed_user_creation_flow.h
deleted file mode 100644
index f99072516f1c77df2fa906db89e5b0adae59db0a..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/managed/locally_managed_user_creation_flow.h
+++ /dev/null
@@ -1,58 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_FLOW_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_FLOW_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/strings/string16.h"
-#include "chrome/browser/chromeos/login/user_flow.h"
-#include "chrome/browser/chromeos/login/users/user.h"
-
-class Profile;
-
-namespace chromeos {
-
-// UserFlow implementation for creating new locally managed user.
-class LocallyManagedUserCreationFlow : public ExtendedUserFlow {
- public:
- explicit LocallyManagedUserCreationFlow(const std::string& manager_id);
- virtual ~LocallyManagedUserCreationFlow();
-
- virtual bool CanLockScreen() OVERRIDE;
- virtual bool ShouldShowSettings() OVERRIDE;
- virtual bool ShouldLaunchBrowser() OVERRIDE;
- virtual bool ShouldSkipPostLoginScreens() OVERRIDE;
- virtual bool HandleLoginFailure(const AuthFailure& failure) OVERRIDE;
- virtual void HandleLoginSuccess(const UserContext& context) OVERRIDE;
- virtual bool HandlePasswordChangeDetected() OVERRIDE;
- virtual void HandleOAuthTokenStatusChange(User::OAuthTokenStatus status)
- OVERRIDE;
- virtual void LaunchExtraSteps(Profile* profile) OVERRIDE;
- private:
- // Display name for user being created.
- base::string16 name_;
- // Password for user being created.
- std::string password_;
-
- // Indicates if manager OAuth2 token has been validated.
- bool token_validated_;
-
- // Indicates if manager was successfully authenticated against
- // local cryptohome.
- bool logged_in_;
-
- // Indicates that cryptohome is mounted and OAuth2 token is validated.
- // Used to avoid multiple notifications.
- bool session_started_;
-
- Profile* manager_profile_;
-
- DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserCreationFlow);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_CREATION_FLOW_H_

Powered by Google App Engine
This is Rietveld 408576698