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

Unified Diff: chrome/browser/chromeos/login/screens/host_pairing_screen.h

Issue 2677563005: Chromad: Use DM server reply to determine enrollment type (Closed)
Patch Set: comments+create ActiveDirectoryJoinDelegate 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/screens/host_pairing_screen.h
diff --git a/chrome/browser/chromeos/login/screens/host_pairing_screen.h b/chrome/browser/chromeos/login/screens/host_pairing_screen.h
index b209d5d30c2243f11d43b13a14341f6180bd096b..9af3219793d75985482f415410374dddc888615e 100644
--- a/chrome/browser/chromeos/login/screens/host_pairing_screen.h
+++ b/chrome/browser/chromeos/login/screens/host_pairing_screen.h
@@ -9,6 +9,7 @@
#include "chrome/browser/chromeos/login/enrollment/enterprise_enrollment_helper.h"
#include "chrome/browser/chromeos/login/screens/base_screen.h"
#include "chrome/browser/chromeos/login/screens/host_pairing_screen_actor.h"
+#include "chrome/browser/chromeos/policy/active_directory_join_delegate.h"
#include "components/login/screens/screen_context.h"
#include "components/pairing/host_pairing_controller.h"
@@ -18,7 +19,8 @@ class HostPairingScreen
: public BaseScreen,
public pairing_chromeos::HostPairingController::Observer,
public HostPairingScreenActor::Delegate,
- public EnterpriseEnrollmentHelper::EnrollmentStatusConsumer {
+ public EnterpriseEnrollmentHelper::EnrollmentStatusConsumer,
+ public ActiveDirectoryJoinDelegate {
public:
class Delegate {
public:
@@ -77,6 +79,9 @@ class HostPairingScreen
void OnAuthCleared();
void OnAnyEnrollmentError();
+ // Implements ActiveDirectoryJoinDelegate.
achuithb 2017/02/13 13:39:02 Use the same comment form as above for consistency
Roman Sorokin (ftl) 2017/02/14 12:47:10 Done.
+ void JoinDomain(OnDomainJoinedCallback on_joined_callback) override;
+
Delegate* delegate_;
achuithb 2017/02/13 13:39:02 = nullptr
Roman Sorokin (ftl) 2017/02/14 12:47:10 Done.
HostPairingScreenActor* actor_;
achuithb 2017/02/13 13:39:02 = nullptr
Roman Sorokin (ftl) 2017/02/14 12:47:10 Done.

Powered by Google App Engine
This is Rietveld 408576698