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

Unified Diff: chrome/browser/chromeos/device_settings_provider.cc

Issue 9691046: Updated the chrome_device_policy.proto, and AppPack decoding. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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
« no previous file with comments | « no previous file | chrome/browser/policy/app_pack_updater.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/device_settings_provider.cc
diff --git a/chrome/browser/chromeos/device_settings_provider.cc b/chrome/browser/chromeos/device_settings_provider.cc
index e64750057493e54d2fa8984b2e5b92eaea9a7ced..e10c1f7aab480d938b69a016c8bfde2a8b9e5adc 100644
--- a/chrome/browser/chromeos/device_settings_provider.cc
+++ b/chrome/browser/chromeos/device_settings_provider.cc
@@ -428,9 +428,9 @@ void DeviceSettingsProvider::DecodeKioskPolicies(
}
if (it->has_update_url())
entry->SetString(policy::AppPackUpdater::kUpdateUrl, it->update_url());
- if (it->has_key_checksum()) {
- entry->SetString(policy::AppPackUpdater::kKeyChecksum,
- it->key_checksum());
+ if (it->has_online_only()) {
+ entry->SetBoolean(policy::AppPackUpdater::kOnlineOnly,
+ it->online_only());
}
list->Append(entry);
}
« no previous file with comments | « no previous file | chrome/browser/policy/app_pack_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698