Chromium Code Reviews| Index: chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
| diff --git a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
| index 11387ea108b2f2b79b6a01e7a7447f861d980b1f..8acdf505a9247db0cd633bbb31bdc0c969567f2f 100644 |
| --- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
| +++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc |
| @@ -634,9 +634,8 @@ void WallpaperPrivateSetCustomWallpaperFunction::OnWallpaperDecoded( |
| unsafe_wallpaper_decoder_ = NULL; |
| Profile* profile = Profile::FromBrowserContext(browser_context()); |
| - // This API is only available to the component wallpaper picker. We do not |
| - // need to show the app's name if it is the component wallpaper picker. So set |
| - // the pref to empty string. |
| + // TODO(xdai): This preference is unused now. For compatiblity concern, we |
| + // need to keep it until it's safe to clean it up. |
| profile->GetPrefs()->SetString(prefs::kCurrentWallpaperAppName, |
|
tbarzic
2016/02/04 21:31:24
It should be OK to stop setting this value (but I'
xdai1
2016/02/05 01:09:52
I also prefer to stop setting this value. And clea
|
| std::string()); |