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

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

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reverting webdriver:Command::parameters_ to const Created 8 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/login/user_manager_impl.cc
diff --git a/chrome/browser/chromeos/login/user_manager_impl.cc b/chrome/browser/chromeos/login/user_manager_impl.cc
index 9eb7b3c90c51482fdc25525e586937c5ef6ea219..6257ebbcd1fd317850d4ca0f8b28fb9eea55d85f 100644
--- a/chrome/browser/chromeos/login/user_manager_impl.cc
+++ b/chrome/browser/chromeos/login/user_manager_impl.cc
@@ -837,7 +837,7 @@ void UserManagerImpl::EnsureUsersLoaded() {
// TODO(avayvod): Reading image path as a string is here for
// backward compatibility.
std::string image_path;
- base::DictionaryValue* image_properties;
+ const base::DictionaryValue* image_properties;
if (prefs_images->GetStringWithoutPathExpansion(email, &image_path)) {
int image_id = User::kInvalidImageIndex;
if (IsDefaultImagePath(image_path, &image_id)) {
@@ -1153,7 +1153,7 @@ void UserManagerImpl::GetUserWallpaperProperties(const std::string& username,
if (!username.empty()) {
const DictionaryValue* user_wallpapers = g_browser_process->local_state()->
GetDictionary(UserManager::kUserWallpapersProperties);
- base::DictionaryValue* wallpaper_properties;
+ const base::DictionaryValue* wallpaper_properties;
if (user_wallpapers->GetDictionaryWithoutPathExpansion(
username,
&wallpaper_properties)) {
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_wapi_parser.cc ('k') | chrome/browser/content_settings/content_settings_pref_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698