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

Unified Diff: chrome/browser/content_settings/content_settings_supervised_provider_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/content_settings/content_settings_supervised_provider_unittest.cc
diff --git a/chrome/browser/content_settings/content_settings_supervised_provider_unittest.cc b/chrome/browser/content_settings/content_settings_supervised_provider_unittest.cc
index 726ed4968321366cd54d1f6b2af8afc078d2b7fd..2434fcad3448bc22f3fe7200a2e5faddd9b403d8 100644
--- a/chrome/browser/content_settings/content_settings_supervised_provider_unittest.cc
+++ b/chrome/browser/content_settings/content_settings_supervised_provider_unittest.cc
@@ -59,7 +59,7 @@ TEST_F(SupervisedUserProviderTest, GeolocationTest) {
_, _, CONTENT_SETTINGS_TYPE_GEOLOCATION, ""));
service_.SetLocalSetting(
supervised_users::kGeolocationDisabled,
- std::unique_ptr<base::Value>(new base::FundamentalValue(true)));
+ std::unique_ptr<base::Value>(new base::Value(true)));
rule_iterator = provider_->GetRuleIterator(CONTENT_SETTINGS_TYPE_GEOLOCATION,
std::string(), false);
@@ -77,7 +77,7 @@ TEST_F(SupervisedUserProviderTest, GeolocationTest) {
_, _, CONTENT_SETTINGS_TYPE_GEOLOCATION, ""));
service_.SetLocalSetting(
supervised_users::kGeolocationDisabled,
- std::unique_ptr<base::Value>(new base::FundamentalValue(false)));
+ std::unique_ptr<base::Value>(new base::Value(false)));
rule_iterator = provider_->GetRuleIterator(CONTENT_SETTINGS_TYPE_GEOLOCATION,
std::string(), false);
@@ -103,7 +103,7 @@ TEST_F(SupervisedUserProviderTest, CameraMicTest) {
OnContentSettingChanged(_, _, CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC, ""));
service_.SetLocalSetting(
supervised_users::kCameraMicDisabled,
- std::unique_ptr<base::Value>(new base::FundamentalValue(true)));
+ std::unique_ptr<base::Value>(new base::Value(true)));
rule_iterator = provider_->GetRuleIterator(
CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA, std::string(), false);
@@ -136,7 +136,7 @@ TEST_F(SupervisedUserProviderTest, CameraMicTest) {
OnContentSettingChanged(_, _, CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC, ""));
service_.SetLocalSetting(
supervised_users::kCameraMicDisabled,
- std::unique_ptr<base::Value>(new base::FundamentalValue(false)));
+ std::unique_ptr<base::Value>(new base::Value(false)));
rule_iterator = provider_->GetRuleIterator(
CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA, std::string(), false);

Powered by Google App Engine
This is Rietveld 408576698