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

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

Issue 6882038: Move writing information to the lockbox after registering with the DM server. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fixed nits and rebase issues. Created 9 years, 8 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/device_policy_identity_strategy.h
diff --git a/chrome/browser/policy/device_policy_identity_strategy.h b/chrome/browser/policy/device_policy_identity_strategy.h
index 64695ecd0c50b3b2bdcdafeaf1cad8b112623ed3..c849dff91fc450761b24b11cf5d3621124201a0a 100644
--- a/chrome/browser/policy/device_policy_identity_strategy.h
+++ b/chrome/browser/policy/device_policy_identity_strategy.h
@@ -33,6 +33,11 @@ class DevicePolicyIdentityStrategy : public CloudPolicyIdentityStrategy {
const std::string& device_id,
const std::string& device_token);
+ // Initiates a policy fetch after a successful device registration. This
+ // function should be called only after the device token has been fetched
+ // either through the DMServer or loaded from the cache.
+ void FetchPolicy();
+
// CloudPolicyIdentityStrategy implementation:
virtual std::string GetDeviceToken() OVERRIDE;
virtual std::string GetDeviceID() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698