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

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

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/browser_policy_connector.cc
diff --git a/chrome/browser/policy/browser_policy_connector.cc b/chrome/browser/policy/browser_policy_connector.cc
index 630a832a62d900773a396438ee33049c0a147121..0dfc0863e571e8d44161a859b052ba2c7c5a4993 100644
--- a/chrome/browser/policy/browser_policy_connector.cc
+++ b/chrome/browser/policy/browser_policy_connector.cc
@@ -177,6 +177,13 @@ void BrowserPolicyConnector::StopAutoRetry() {
cloud_policy_subsystem_->StopAutoRetry();
}
+void BrowserPolicyConnector::FetchPolicy() {
+#if defined(OS_CHROMEOS)
+ if (identity_strategy_.get())
+ return identity_strategy_->FetchPolicy();
+#endif
+}
+
void BrowserPolicyConnector::Initialize() {
// TODO(jkummerow, mnissler): Move this out of the browser startup path.
if (cloud_policy_subsystem_.get()) {

Powered by Google App Engine
This is Rietveld 408576698