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

Unified Diff: extensions/browser/api/alarms/alarms_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: extensions/browser/api/alarms/alarms_api.cc
diff --git a/extensions/browser/api/alarms/alarms_api.cc b/extensions/browser/api/alarms/alarms_api.cc
index 483a5d2a5ec96cc4a0d678453462bb002b65f2ca..3bcae3d2b7e7cf76504464226a7ad40de662b71d 100644
--- a/extensions/browser/api/alarms/alarms_api.cc
+++ b/extensions/browser/api/alarms/alarms_api.cc
@@ -180,7 +180,7 @@ bool AlarmsClearFunction::RunAsync() {
}
void AlarmsClearFunction::Callback(const std::string& name, bool success) {
- SetResult(base::MakeUnique<base::FundamentalValue>(success));
+ SetResult(base::MakeUnique<base::Value>(success));
SendResponse(true);
}
@@ -192,7 +192,7 @@ bool AlarmsClearAllFunction::RunAsync() {
}
void AlarmsClearAllFunction::Callback() {
- SetResult(base::MakeUnique<base::FundamentalValue>(true));
+ SetResult(base::MakeUnique<base::Value>(true));
SendResponse(true);
}
« no previous file with comments | « device/bluetooth/dbus/fake_bluetooth_device_client.cc ('k') | extensions/browser/api/app_window/app_window_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698