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

Unified Diff: chrome/browser/android/search_geolocation/search_geolocation_service_unittest.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
« no previous file with comments | « base/values_unittest.cc ('k') | chrome/browser/chromeos/arc/arc_session_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/search_geolocation/search_geolocation_service_unittest.cc
diff --git a/chrome/browser/android/search_geolocation/search_geolocation_service_unittest.cc b/chrome/browser/android/search_geolocation/search_geolocation_service_unittest.cc
index a0959121a4fc4e56fd561cf6cea43d2bda0e7098..260a98eaa954358a640a43f584fece04c5db30cf 100644
--- a/chrome/browser/android/search_geolocation/search_geolocation_service_unittest.cc
+++ b/chrome/browser/android/search_geolocation/search_geolocation_service_unittest.cc
@@ -195,7 +195,7 @@ TEST_F(SearchGeolocationServiceTest, UseDSEGeolocationSetting) {
// False if the content setting is enterprise ask.
profile()->GetTestingPrefService()->SetManagedPref(
prefs::kManagedDefaultGeolocationSetting,
- new base::FundamentalValue(CONTENT_SETTING_ASK));
+ new base::Value(CONTENT_SETTING_ASK));
EXPECT_FALSE(GetService()->UseDSEGeolocationSetting(ToOrigin(kGoogleURL)));
}
@@ -245,7 +245,7 @@ TEST_F(SearchGeolocationServiceTest, SetDSEGeolocationSetting) {
GetService()->SetDSEGeolocationSetting(true);
profile()->GetTestingPrefService()->SetManagedPref(
prefs::kManagedDefaultGeolocationSetting,
- new base::FundamentalValue(CONTENT_SETTING_ASK));
+ new base::Value(CONTENT_SETTING_ASK));
EXPECT_TRUE(GetService()->GetDSEGeolocationSetting());
GetService()->SetDSEGeolocationSetting(false);
EXPECT_TRUE(GetService()->GetDSEGeolocationSetting());
« no previous file with comments | « base/values_unittest.cc ('k') | chrome/browser/chromeos/arc/arc_session_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698