Searched refs:poldata (Results 1 – 3 of 3) sorted by relevance
63 em::PolicyData* poldata) { in PolicyIsSane() argument65 poldata->ParseFromString(value.policy_data()); in PolicyIsSane()66 if (poldata->has_policy_type() && in PolicyIsSane()67 poldata->policy_type() == kDevicePolicyType && in PolicyIsSane()68 poldata->has_policy_value()) { in PolicyIsSane()178 em::PolicyData* poldata);485 em::PolicyData poldata; in OnSettingsOpCompleted() local486 poldata.ParseFromString(to_store_.policy_data()); in OnSettingsOpCompleted()487 service_->set_cached_policy(poldata); in OnSettingsOpCompleted()598 em::PolicyData poldata; in OnSettingsOpCompleted() local[all …]
151 void SetAllowNewUsers(bool desired, em::PolicyData* poldata) { in SetAllowNewUsers() argument153 pol.ParseFromString(poldata->policy_value()); in SetAllowNewUsers()156 poldata->set_policy_value(pol.SerializeAsString()); in SetAllowNewUsers()159 bool CheckWhitelist(const std::string& email, const em::PolicyData& poldata) { in CheckWhitelist() argument160 if (!poldata.has_policy_value()) in CheckWhitelist()163 pol.ParseFromString(poldata.policy_value()); in CheckWhitelist()
107 em::PolicyData* poldata);