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

Unified Diff: chrome/browser/chromeos/extensions/wallpaper_private_api.cc

Issue 2666093002: Remove base::FundamentalValue (Closed)
Patch Set: Rebase Created 3 years, 10 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/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 ee1e5d7e246e034b150c4d5c7e5e3dd6c9735020..c9eac15d9256a182ff4d7186e38478060861d844 100644
--- a/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
+++ b/chrome/browser/chromeos/extensions/wallpaper_private_api.cc
@@ -471,7 +471,7 @@ void WallpaperPrivateSetWallpaperIfExistsFunction::OnWallpaperDecoded(
user_manager::User::ONLINE,
base::Time::Now().LocalMidnight()};
wallpaper_manager->SetUserWallpaperInfo(account_id_, info, is_persistent);
- SetResult(base::MakeUnique<base::FundamentalValue>(true));
+ SetResult(base::MakeUnique<base::Value>(true));
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
@@ -483,7 +483,7 @@ void WallpaperPrivateSetWallpaperIfExistsFunction::OnWallpaperDecoded(
void WallpaperPrivateSetWallpaperIfExistsFunction::OnFileNotExists(
const std::string& error) {
- SetResult(base::MakeUnique<base::FundamentalValue>(false));
+ SetResult(base::MakeUnique<base::Value>(false));
OnFailure(error);
}

Powered by Google App Engine
This is Rietveld 408576698