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

Unified Diff: chrome/browser/chromeos/user_cros_settings_provider.h

Issue 7259019: Move base/values.h into the base namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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/user_cros_settings_provider.h
===================================================================
--- chrome/browser/chromeos/user_cros_settings_provider.h (revision 92173)
+++ chrome/browser/chromeos/user_cros_settings_provider.h (working copy)
@@ -12,10 +12,13 @@
#include "chrome/browser/chromeos/cros_settings_provider.h"
#include "chrome/browser/chromeos/login/signed_settings_helper.h"
-class ListValue;
class PrefService;
class Task;
+namespace base {
+class ListValue;
+}
+
namespace chromeos {
// CrosSettingsProvider implementation that works with SignedSettings.
@@ -48,7 +51,7 @@
static bool cached_allow_new_user();
static bool cached_data_roaming_enabled();
static bool cached_show_users_on_signin();
- static const ListValue* cached_whitelist();
+ static const base::ListValue* cached_whitelist();
static std::string cached_owner();
// Returns true if given email is in user whitelist.
@@ -57,7 +60,7 @@
static bool IsEmailInCachedWhitelist(const std::string& email);
// CrosSettingsProvider implementation.
- virtual bool Get(const std::string& path, Value** out_value) const;
+ virtual bool Get(const std::string& path, base::Value** out_value) const;
virtual bool HandlesSetting(const std::string& path);
void WhitelistUser(const std::string& email);
@@ -68,7 +71,7 @@
private:
// CrosSettingsProvider implementation.
- virtual void DoSet(const std::string& path, Value* value);
+ virtual void DoSet(const std::string& path, base::Value* value);
DISALLOW_COPY_AND_ASSIGN(UserCrosSettingsProvider);
};

Powered by Google App Engine
This is Rietveld 408576698