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

Unified Diff: services/catalog/public/tools/catalog.cc.tmpl

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
« no previous file with comments | « net/log/net_log_unittest.cc ('k') | services/preferences/public/cpp/tests/pref_client_store_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/catalog/public/tools/catalog.cc.tmpl
diff --git a/services/catalog/public/tools/catalog.cc.tmpl b/services/catalog/public/tools/catalog.cc.tmpl
index d309ae99979ab8af46420dbc2a767fa52e2b0eb3..2edab791594826eb6e625b3680a487f2ccbe290e 100644
--- a/services/catalog/public/tools/catalog.cc.tmpl
+++ b/services/catalog/public/tools/catalog.cc.tmpl
@@ -35,9 +35,9 @@ GenerateValue([]() {
return list;
})
{%- elif source|is_number -%}
-base::MakeUnique<base::FundamentalValue>({{source}})
+base::MakeUnique<base::Value>({{source}})
{%- elif source|is_bool -%}
-base::MakeUnique<base::FundamentalValue>({{source|lower}})
+base::MakeUnique<base::Value>({{source|lower}})
{%- elif source|is_string or source|is_unicode -%}
base::MakeUnique<base::StringValue>("{{source|make_ascii}}")
{%- else %}
« no previous file with comments | « net/log/net_log_unittest.cc ('k') | services/preferences/public/cpp/tests/pref_client_store_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698