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

Side by Side Diff: chrome/browser/chromeos/policy/active_directory_join_delegate.h

Issue 2677563005: Chromad: Use DM server reply to determine enrollment type (Closed)
Patch Set: comment+rebase+fix test 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 unified diff | Download patch
OLDNEW
(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 {
Thiemo Nagel 2017/02/14 14:45:00 Your ActiveDirectoryJoinDelegate frightens and con
Roman Sorokin (ftl) 2017/02/14 16:01:33 Done.
18 public:
19 ActiveDirectoryJoinDelegate() = default;
20 // Shows the Active Directory domain joining screen.
21 void virtual JoinDomain(OnDomainJoinedCallback on_joined_callback) = 0;
22
23 protected:
24 ~ActiveDirectoryJoinDelegate() = default;
25
26 private:
27 DISALLOW_COPY_AND_ASSIGN(ActiveDirectoryJoinDelegate);
28 };
29
30 } // namespace chromeos
31
32 #endif // CHROME_BROWSER_CHROMEOS_POLICY_ACTIVE_DIRECTORY_JOIN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698