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

Unified Diff: chrome/browser/chromeos/login/signed_settings_cache.cc

Issue 8815015: Fix a signed settings serialization issue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed the nit. I will commit it if trybots are happy. 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
« no previous file with comments | « chrome/browser/chromeos/login/session_manager_observer.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/signed_settings_cache.cc
diff --git a/chrome/browser/chromeos/login/signed_settings_cache.cc b/chrome/browser/chromeos/login/signed_settings_cache.cc
index 878149b12ffeba6624241888420717ec3baa87e1..55fa8c5e6b90fee92779f904c8844ec7be1a5fa8 100644
--- a/chrome/browser/chromeos/login/signed_settings_cache.cc
+++ b/chrome/browser/chromeos/login/signed_settings_cache.cc
@@ -7,6 +7,7 @@
#include "base/base64.h"
#include "base/bind.h"
#include "base/values.h"
+#include "chrome/browser/chromeos/cros_settings.h"
#include "chrome/browser/chromeos/login/ownership_service.h"
#include "chrome/browser/chromeos/login/signed_settings_helper.h"
#include "chrome/browser/prefs/pref_service.h"
@@ -22,6 +23,8 @@ namespace {
void OnStorePolicyCompleted(SignedSettings::ReturnCode code) {
if (code != SignedSettings::SUCCESS)
LOG(ERROR) << "Couldn't save temp store to the policy blob. code: " << code;
+ else
+ CrosSettings::Get()->ReloadProviders();
}
void FinishFinalize(PrefService* local_state,
« no previous file with comments | « chrome/browser/chromeos/login/session_manager_observer.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698