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

Unified Diff: chrome/browser/chromeos/login/enterprise_enrollment_view.h

Issue 6821075: Chrome-side lockbox bindings (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Addressed Ken's nits. Created 9 years, 8 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/enterprise_enrollment_view.h
diff --git a/chrome/browser/chromeos/login/enterprise_enrollment_view.h b/chrome/browser/chromeos/login/enterprise_enrollment_view.h
index 23322f121c52872a9b7cd32db0f180fa9aa17bd4..71f934ab9f3e4b030e3a5ff34778478087884bf4 100644
--- a/chrome/browser/chromeos/login/enterprise_enrollment_view.h
+++ b/chrome/browser/chromeos/login/enterprise_enrollment_view.h
@@ -34,6 +34,8 @@ class EnterpriseEnrollmentView : public views::View,
explicit EnterpriseEnrollmentView(EnterpriseEnrollmentController* controller);
virtual ~EnterpriseEnrollmentView();
+ void set_editable_user(bool editable);
+
// Initialize view controls and layout.
void Init();
@@ -54,6 +56,7 @@ class EnterpriseEnrollmentView : public views::View,
const std::string& access_code) OVERRIDE;
virtual void OnAuthCancelled() OVERRIDE;
virtual void OnConfirmationClosed() OVERRIDE;
+ virtual bool GetInitialUser(std::string* user) OVERRIDE;
private:
// Updates the gaia login box.
@@ -70,6 +73,8 @@ class EnterpriseEnrollmentView : public views::View,
// Controls.
WebPageDomView* enrollment_page_view_;
+ bool editable_user_;
+
DISALLOW_COPY_AND_ASSIGN(EnterpriseEnrollmentView);
};

Powered by Google App Engine
This is Rietveld 408576698