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

Unified Diff: chrome/browser/policy/device_policy_cache_unittest.cc

Issue 9403010: Add support for kiosk mode on the client. Make sure the settings are written in the lockbox. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed nitty nit. 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
Index: chrome/browser/policy/device_policy_cache_unittest.cc
diff --git a/chrome/browser/policy/device_policy_cache_unittest.cc b/chrome/browser/policy/device_policy_cache_unittest.cc
index 775fe05b31464a3e676c87baea8b01dad31df786..b438cdad3cc8dc4e0e222f8313b67b47968fbdda 100644
--- a/chrome/browser/policy/device_policy_cache_unittest.cc
+++ b/chrome/browser/policy/device_policy_cache_unittest.cc
@@ -91,7 +91,10 @@ class DevicePolicyCacheTest : public testing::Test {
void MakeEnterpriseDevice(const char* registration_user) {
ASSERT_EQ(EnterpriseInstallAttributes::LOCK_SUCCESS,
- install_attributes_.LockDevice(registration_user));
+ install_attributes_.LockDevice(
+ registration_user,
+ DEVICE_MODE_ENTERPRISE,
+ std::string()));
}
const Value* GetPolicy(const char* policy_name) {
« no previous file with comments | « chrome/browser/policy/cloud_policy_subsystem_unittest.cc ('k') | chrome/browser/policy/device_token_fetcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698