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

Unified Diff: chrome/browser/extensions/chrome_app_sorting_unittest.cc

Issue 2476493003: Remove FundamentalValue
Patch Set: Fix Created 4 years, 1 month 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/extensions/chrome_app_sorting_unittest.cc
diff --git a/chrome/browser/extensions/chrome_app_sorting_unittest.cc b/chrome/browser/extensions/chrome_app_sorting_unittest.cc
index a11315fa27c516686ef9714a57c63d99ba4261e3..d30f71dfb06ccaf98cf3fe670e843655f58275f1 100644
--- a/chrome/browser/extensions/chrome_app_sorting_unittest.cc
+++ b/chrome/browser/extensions/chrome_app_sorting_unittest.cc
@@ -154,24 +154,24 @@ class ChromeAppSortingInitialize : public PrefsPrepopulatedTestBase {
static_cast<ExtensionScopedPrefs*>(prefs());
scoped_prefs->UpdateExtensionPref(extension1()->id(),
kPrefAppLaunchIndexDeprecated,
- new base::FundamentalValue(0));
+ new base::Value(0));
scoped_prefs->UpdateExtensionPref(extension1()->id(),
kPrefPageIndexDeprecated,
- new base::FundamentalValue(0));
+ new base::Value(0));
scoped_prefs->UpdateExtensionPref(extension2()->id(),
kPrefAppLaunchIndexDeprecated,
- new base::FundamentalValue(1));
+ new base::Value(1));
scoped_prefs->UpdateExtensionPref(extension2()->id(),
kPrefPageIndexDeprecated,
- new base::FundamentalValue(0));
+ new base::Value(0));
scoped_prefs->UpdateExtensionPref(extension3()->id(),
kPrefAppLaunchIndexDeprecated,
- new base::FundamentalValue(0));
+ new base::Value(0));
scoped_prefs->UpdateExtensionPref(extension3()->id(),
kPrefPageIndexDeprecated,
- new base::FundamentalValue(1));
+ new base::Value(1));
// We insert the ids in reverse order so that we have to deal with the
// element on the 2nd page before the 1st page is seen.
@@ -261,10 +261,10 @@ class ChromeAppSortingMigrateAppIndexInvalid
static_cast<ExtensionScopedPrefs*>(prefs());
scoped_prefs->UpdateExtensionPref(extension1()->id(),
kPrefAppLaunchIndexDeprecated,
- new base::FundamentalValue(0));
+ new base::Value(0));
scoped_prefs->UpdateExtensionPref(extension1()->id(),
kPrefPageIndexDeprecated,
- new base::FundamentalValue(-1));
+ new base::Value(-1));
}
void Verify() override {
// Make sure that the invalid page_index wasn't converted over.

Powered by Google App Engine
This is Rietveld 408576698