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

Side by Side Diff: chrome/browser/chromeos/policy/user_cloud_policy_manager_chromeos.h

Issue 1262883003: Revert of Added affiliation IDs for the new affiliation determination. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_CHROMEOS_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_CHROMEOS_H_ 6 #define CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_CHROMEOS_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 void OnInitializationCompleted(CloudPolicyService* service) override; 96 void OnInitializationCompleted(CloudPolicyService* service) override;
97 97
98 // CloudPolicyClient::Observer: 98 // CloudPolicyClient::Observer:
99 void OnPolicyFetched(CloudPolicyClient* client) override; 99 void OnPolicyFetched(CloudPolicyClient* client) override;
100 void OnRegistrationStateChanged(CloudPolicyClient* client) override; 100 void OnRegistrationStateChanged(CloudPolicyClient* client) override;
101 void OnClientError(CloudPolicyClient* client) override; 101 void OnClientError(CloudPolicyClient* client) override;
102 102
103 // ComponentCloudPolicyService::Delegate: 103 // ComponentCloudPolicyService::Delegate:
104 void OnComponentCloudPolicyUpdated() override; 104 void OnComponentCloudPolicyUpdated() override;
105 105
106 // CloudPolicyManager:
107 void OnStoreLoaded(CloudPolicyStore* cloud_policy_store) override;
108
109 protected: 106 protected:
110 // CloudPolicyManager: 107 // CloudPolicyManager:
111 void GetChromePolicy(PolicyMap* policy_map) override; 108 void GetChromePolicy(PolicyMap* policy_map) override;
112 109
113 private: 110 private:
114 // Fetches a policy token using the refresh token if available, or the 111 // Fetches a policy token using the refresh token if available, or the
115 // authentication context of the signin context, and calls back 112 // authentication context of the signin context, and calls back
116 // OnOAuth2PolicyTokenFetched when done. 113 // OnOAuth2PolicyTokenFetched when done.
117 void FetchPolicyOAuthToken(); 114 void FetchPolicyOAuthToken();
118 115
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 base::Time time_init_completed_; 173 base::Time time_init_completed_;
177 base::Time time_token_available_; 174 base::Time time_token_available_;
178 base::Time time_client_registered_; 175 base::Time time_client_registered_;
179 176
180 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyManagerChromeOS); 177 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyManagerChromeOS);
181 }; 178 };
182 179
183 } // namespace policy 180 } // namespace policy
184 181
185 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_CHROMEOS_H_ 182 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698