Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_ACTIVE_DIRECTORY_JOIN_DELEGATE_H_ | |
| 6 #define CHROME_BROWSER_CHROMEOS_POLICY_ACTIVE_DIRECTORY_JOIN_DELEGATE_H_ | |
| 7 | |
| 8 #include "base/callback.h" | |
| 9 | |
| 10 namespace chromeos { | |
| 11 | |
| 12 // Called on successful Active Directory domain join. Pass Active Directory | |
| 13 // realm. | |
| 14 using OnDomainJoinedCallback = | |
| 15 base::OnceCallback<void(const std::string& realm)>; | |
| 16 | |
| 17 class ActiveDirectoryJoinDelegate { | |
| 18 public: | |
| 19 // Shows the Active Directory domain joining screen. | |
| 20 void virtual JoinDomain(OnDomainJoinedCallback on_joined_callback) = 0; | |
|
achuithb
2017/02/13 13:39:03
DISALLOW_COPY_AND_ASSIGN
Roman Sorokin (ftl)
2017/02/14 12:47:10
Done.
| |
| 21 }; | |
| 22 | |
| 23 } // namespace chromeos | |
| 24 | |
| 25 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ACTIVE_DIRECTORY_JOIN_DELEGATE_H_ | |
| OLD | NEW |