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

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

Issue 7785032: Revert 98987 - Pass user_affiliation request parameter on user cloud policy requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/policy/cloud_policy_data_store.h ('k') | chrome/browser/policy/device_management_backend.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/cloud_policy_data_store.cc
===================================================================
--- chrome/browser/policy/cloud_policy_data_store.cc (revision 98988)
+++ chrome/browser/policy/cloud_policy_data_store.cc (working copy)
@@ -83,8 +83,7 @@
const std::string& policy_type,
const std::string& machine_model,
const std::string& machine_id)
- : user_affiliation_(USER_AFFILIATION_NONE),
- policy_register_type_(policy_register_type),
+ : policy_register_type_(policy_register_type),
policy_type_(policy_type),
machine_model_(machine_model),
machine_id_(machine_id),
@@ -149,11 +148,6 @@
user_name_ = user_name;
}
-void CloudPolicyDataStore::set_user_affiliation(
- UserAffiliation user_affiliation) {
- user_affiliation_ = user_affiliation;
-}
-
const std::string& CloudPolicyDataStore::device_token() const {
return device_token_;
}
@@ -195,11 +189,6 @@
return user_name_;
}
-const CloudPolicyDataStore::UserAffiliation
- CloudPolicyDataStore::user_affiliation() const {
- return user_affiliation_;
-}
-
void CloudPolicyDataStore::AddObserver(
CloudPolicyDataStore::Observer* observer) {
observer_list_.AddObserver(observer);
« no previous file with comments | « chrome/browser/policy/cloud_policy_data_store.h ('k') | chrome/browser/policy/device_management_backend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698