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

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

Issue 101283003: Add first implemenation for SU password sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Updated comment Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/login/managed/locally_managed_user_login_flow.h
diff --git a/chrome/browser/chromeos/login/managed/locally_managed_user_login_flow.h b/chrome/browser/chromeos/login/managed/locally_managed_user_login_flow.h
deleted file mode 100644
index c3a6c62190b13cc0f9e190ab7428a997559e0f65..0000000000000000000000000000000000000000
--- a/chrome/browser/chromeos/login/managed/locally_managed_user_login_flow.h
+++ /dev/null
@@ -1,48 +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_LOGIN_FLOW_H_
-#define CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_LOGIN_FLOW_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "base/memory/weak_ptr.h"
-#include "base/strings/string16.h"
-#include "chrome/browser/chromeos/login/user_flow.h"
-
-namespace chromeos {
-
-// UserFlow implementation for signing in locally managed user.
-class LocallyManagedUserLoginFlow : public ExtendedUserFlow {
- public:
- explicit LocallyManagedUserLoginFlow(const std::string& user_id);
- virtual ~LocallyManagedUserLoginFlow();
-
- // Registers flow preferences.
- // static void RegisterPrefs(PrefRegistrySimple* registry);
-
- virtual bool ShouldLaunchBrowser() OVERRIDE;
- virtual bool ShouldSkipPostLoginScreens() OVERRIDE;
- virtual bool HandleLoginFailure(const LoginFailure& failure) OVERRIDE;
- virtual bool HandlePasswordChangeDetected() OVERRIDE;
- virtual void HandleOAuthTokenStatusChange(User::OAuthTokenStatus status)
- OVERRIDE;
- virtual void LaunchExtraSteps(Profile* profile) OVERRIDE;
-
- virtual void OnSyncSetupDataLoaded(const std::string& token);
- virtual void ConfigureSync(const std::string& token);
-
- private:
- void Launch();
-
- bool data_loaded_;
- Profile* profile_;
- base::WeakPtrFactory<LocallyManagedUserLoginFlow> weak_factory_;
-
- DISALLOW_COPY_AND_ASSIGN(LocallyManagedUserLoginFlow);
-};
-
-} // namespace chromeos
-
-#endif // CHROME_BROWSER_CHROMEOS_LOGIN_MANAGED_LOCALLY_MANAGED_USER_LOGIN_FLOW_H_

Powered by Google App Engine
This is Rietveld 408576698