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

Unified Diff: chrome/browser/chromeos/login/signed_settings_temp_storage.h

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 the nits and rebased on ToT (which now has PART1 in). Created 9 years, 1 month 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/login/signed_settings_temp_storage.h
diff --git a/chrome/browser/chromeos/login/signed_settings_temp_storage.h b/chrome/browser/chromeos/login/signed_settings_temp_storage.h
index f7ae0f52f2a70a3a48a6060e109802a9767e1763..6633c99366f73a4a066fd1952ca69168c1d76614 100644
--- a/chrome/browser/chromeos/login/signed_settings_temp_storage.h
+++ b/chrome/browser/chromeos/login/signed_settings_temp_storage.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -9,6 +9,7 @@
#include <string>
#include "base/basictypes.h"
+#include "base/values.h"
class PrefService;
@@ -24,10 +25,10 @@ class SignedSettingsTempStorage {
static void RegisterPrefs(PrefService* local_state);
static bool Store(const std::string& name,
- const std::string& value,
+ const base::Value& value,
PrefService* local_state);
static bool Retrieve(const std::string& name,
- std::string* value,
+ base::Value** value,
PrefService* local_state);
// Call this after owner has been assigned to persist settings

Powered by Google App Engine
This is Rietveld 408576698