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

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

Issue 8091002: PART2: Make SignedSettings use proper Value types instead of string all around the place. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed comments and fixed an issue with user whitelist checks. Created 9 years, 2 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/chromeos/cros_settings_provider.cc
diff --git a/chrome/browser/chromeos/cros_settings_provider.cc b/chrome/browser/chromeos/cros_settings_provider.cc
index 95b59c0b20058f8f7b1abb935fa782d73d6d39f1..23f8acfc57aa17b4af463b1eee55b660c8a84714 100644
--- a/chrome/browser/chromeos/cros_settings_provider.cc
+++ b/chrome/browser/chromeos/cros_settings_provider.cc
@@ -12,7 +12,8 @@
namespace chromeos {
-void CrosSettingsProvider::Set(const std::string& path, Value* value) {
+void CrosSettingsProvider::Set(const std::string& path,
+ const base::Value& value) {
// We don't allow changing any of the cros settings without prefix
// "cros.session." in the guest mode.
// It should not reach here from UI in the guest mode, but just in case.

Powered by Google App Engine
This is Rietveld 408576698