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

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

Issue 9233008: Flag auto-enrollment register requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 8 years, 11 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/policy/browser_policy_connector.h
diff --git a/chrome/browser/policy/browser_policy_connector.h b/chrome/browser/policy/browser_policy_connector.h
index 66cc0c9791ba20cdb242a389eaaec215a3f0b00a..adb0c8c821cc20b87371328b01aa1d67c88431d1 100644
--- a/chrome/browser/policy/browser_policy_connector.h
+++ b/chrome/browser/policy/browser_policy_connector.h
@@ -68,9 +68,13 @@ class BrowserPolicyConnector : public content::NotificationObserver {
return user_cloud_policy_subsystem_.get();
}
- // Triggers registration for device policy.
+ // Triggers registration for device policy, using the |owner_email| account.
+ // |token| is an oauth token to authenticate the registration request, and
+ // |known_machine_id| is true if the server should do additional checks based
+ // on the machine_id used for the request.
void RegisterForDevicePolicy(const std::string& owner_email,
- const std::string& token);
+ const std::string& token,
+ bool known_machine_id);
// Returns true if this device is managed by an enterprise (as opposed to
// a local owner).

Powered by Google App Engine
This is Rietveld 408576698