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

Unified Diff: chrome/browser/policy/browser_policy_connector.h

Issue 8872032: Added the AutoEnrollmentClient and unit tests for it. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style cleanup, rebased Created 9 years 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/policy/browser_policy_connector.h
diff --git a/chrome/browser/policy/browser_policy_connector.h b/chrome/browser/policy/browser_policy_connector.h
index 4f2fcf605a3e48f3621b02ae7c6c77755d0eb7d8..62a8294598306759b6de356ee95b1ac52212fdf2 100644
--- a/chrome/browser/policy/browser_policy_connector.h
+++ b/chrome/browser/policy/browser_policy_connector.h
@@ -86,6 +86,9 @@ class BrowserPolicyConnector : public content::NotificationObserver {
// Locks the device to an enterprise domain.
EnterpriseInstallAttributes::LockResult LockDevice(const std::string& user);
+ // Returns the device serial number, or an empty string if not available.
+ static std::string GetSerialNumber();
+
// Returns the enterprise domain if device is managed.
std::string GetEnterpriseDomain();
« no previous file with comments | « chrome/browser/policy/auto_enrollment_client_unittest.cc ('k') | chrome/browser/policy/browser_policy_connector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698