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

Unified Diff: chrome/browser/chromeos/cros_settings_unittest.cc

Issue 9365078: Rename the ephemeral_users field in the device policy protobuf (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixed reference to Chrome OS bug. Created 8 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 | « chrome/browser/chromeos/cros_settings_names.cc ('k') | chrome/browser/chromeos/device_settings_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/cros_settings_unittest.cc
diff --git a/chrome/browser/chromeos/cros_settings_unittest.cc b/chrome/browser/chromeos/cros_settings_unittest.cc
index 7166a30de539d3e687d39386f1df1ded942d851c..8e7064aa21c403d0f03724b57ecf5fd90fcdb0f2 100644
--- a/chrome/browser/chromeos/cros_settings_unittest.cc
+++ b/chrome/browser/chromeos/cros_settings_unittest.cc
@@ -225,12 +225,12 @@ TEST_F(CrosSettingsTest, SetOwner) {
FetchPref(kDeviceOwner);
}
-TEST_F(CrosSettingsTest, SetEphemeralUsers) {
- base::FundamentalValue ephemeral_users(true);
- AddExpectation(kAccountsPrefEphemeralUsers,
+TEST_F(CrosSettingsTest, SetEphemeralUsersEnabled) {
+ base::FundamentalValue ephemeral_users_enabled(true);
+ AddExpectation(kAccountsPrefEphemeralUsersEnabled,
base::Value::CreateBooleanValue(true));
- SetPref(kAccountsPrefEphemeralUsers, &ephemeral_users);
- FetchPref(kAccountsPrefEphemeralUsers);
+ SetPref(kAccountsPrefEphemeralUsersEnabled, &ephemeral_users_enabled);
+ FetchPref(kAccountsPrefEphemeralUsersEnabled);
}
} // namespace chromeos
« no previous file with comments | « chrome/browser/chromeos/cros_settings_names.cc ('k') | chrome/browser/chromeos/device_settings_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698