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

Unified Diff: chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h

Issue 2677563005: Chromad: Use DM server reply to determine enrollment type (Closed)
Patch Set: Created 3 years, 10 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/enrollment/enrollment_screen_actor.h
diff --git a/chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h b/chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h
index 9d2fa2d48b848f38e1ca745d4b7fb45aae008a77..278a26cf1c1ab22ecd0552e5d67b8d03b8815bc0 100644
--- a/chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h
+++ b/chrome/browser/chromeos/login/enrollment/enrollment_screen_actor.h
@@ -32,7 +32,6 @@ class EnrollmentScreenActor {
virtual void OnRetry() = 0;
virtual void OnCancel() = 0;
virtual void OnConfirmationClosed() = 0;
- virtual void OnAdJoined(const std::string& realm) = 0;
virtual void OnDeviceAttributeProvided(const std::string& asset_id,
const std::string& location) = 0;
};
@@ -52,8 +51,11 @@ class EnrollmentScreenActor {
// Shows the signin screen.
virtual void ShowSigninScreen() = 0;
- // Shows the AD domain joining screen.
- virtual void ShowAdJoin() = 0;
+ // Called on successful Active Directory domain join. Pass Active Directory
+ // realm.
+ using OnAdJoinedCallback = base::OnceCallback<void(std::string realm)>;
achuithb 2017/02/07 20:27:16 const std::string&
Roman Sorokin (ftl) 2017/02/10 14:57:10 Done.
+ // Shows the Active Directory domain joining screen.
+ virtual void ShowAdJoin(OnAdJoinedCallback on_joined_callback) = 0;
// Shows the device attribute prompt screen.
virtual void ShowAttributePromptScreen(const std::string& asset_id,

Powered by Google App Engine
This is Rietveld 408576698