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

Unified Diff: chrome/browser/policy/file_selection_dialogs_policy_handler_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/policy/file_selection_dialogs_policy_handler_unittest.cc
diff --git a/chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc b/chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc
index 99dd83970ce9e875625dd6fed63a84dcadaec2a8..6ee6fce00bac695da40203e2469da43f3ea71950 100644
--- a/chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc
+++ b/chrome/browser/policy/file_selection_dialogs_policy_handler_unittest.cc
@@ -31,7 +31,7 @@ TEST_F(FileSelectionDialogsPolicyTest, Default) {
TEST_F(FileSelectionDialogsPolicyTest, EnableFileSelectionDialogs) {
policy_.Set(key::kAllowFileSelectionDialogs, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD,
- base::MakeUnique<base::FundamentalValue>(true), nullptr);
+ base::MakeUnique<base::Value>(true), nullptr);
handler_.ApplyPolicySettings(policy_, &prefs_);
// Allowing file-selection dialogs should not influence the PromptForDownload
@@ -42,7 +42,7 @@ TEST_F(FileSelectionDialogsPolicyTest, EnableFileSelectionDialogs) {
TEST_F(FileSelectionDialogsPolicyTest, DisableFileSelectionDialogs) {
policy_.Set(key::kAllowFileSelectionDialogs, POLICY_LEVEL_MANDATORY,
POLICY_SCOPE_USER, POLICY_SOURCE_CLOUD,
- base::MakeUnique<base::FundamentalValue>(false), nullptr);
+ base::MakeUnique<base::Value>(false), nullptr);
handler_.ApplyPolicySettings(policy_, &prefs_);
// Disabling file-selection dialogs should disable the PromptForDownload pref.

Powered by Google App Engine
This is Rietveld 408576698