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

Unified Diff: chrome/browser/profiles/guest_mode_policy_handler_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
Index: chrome/browser/profiles/guest_mode_policy_handler_unittest.cc
diff --git a/chrome/browser/profiles/guest_mode_policy_handler_unittest.cc b/chrome/browser/profiles/guest_mode_policy_handler_unittest.cc
index 4b6e81c0a787731bae310e7362b39dd65ec9aee9..111dfac0745c958de39f3ca87fb751b5d3045727 100644
--- a/chrome/browser/profiles/guest_mode_policy_handler_unittest.cc
+++ b/chrome/browser/profiles/guest_mode_policy_handler_unittest.cc
@@ -24,14 +24,14 @@ class GuestModePolicyHandlerTest : public ::testing::Test {
protected:
void SetUpPolicy(const char* policy_name, bool value) {
policies_.Set(policy_name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE,
- POLICY_SOURCE_PLATFORM,
- base::MakeUnique<base::FundamentalValue>(value), nullptr);
+ POLICY_SOURCE_PLATFORM, base::MakeUnique<base::Value>(value),
+ nullptr);
}
void SetUpPolicy(const char* policy_name, int value) {
policies_.Set(policy_name, POLICY_LEVEL_MANDATORY, POLICY_SCOPE_MACHINE,
- POLICY_SOURCE_PLATFORM,
- base::MakeUnique<base::FundamentalValue>(value), nullptr);
+ POLICY_SOURCE_PLATFORM, base::MakeUnique<base::Value>(value),
+ nullptr);
}
PolicyMap policies_;

Powered by Google App Engine
This is Rietveld 408576698