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

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 comments and added more tests. 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..c07648feb8ff6e86deb4a91a3367ea917f074938 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,
+ EnterpriseInstallAttributes::ENTERPRISE_DEVICE,
+ std::string()));
}
const Value* GetPolicy(const char* policy_name) {

Powered by Google App Engine
This is Rietveld 408576698