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

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

Issue 12538009: Public Sessions: fetch device robot api token during enterprise enrollment. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 virtual void RegisterPolicyDomain( 66 virtual void RegisterPolicyDomain(
67 PolicyDomain domain, 67 PolicyDomain domain,
68 const std::set<std::string>& component_ids) OVERRIDE; 68 const std::set<std::string>& component_ids) OVERRIDE;
69 69
70 // CloudPolicyManager: 70 // CloudPolicyManager:
71 virtual scoped_ptr<PolicyBundle> CreatePolicyBundle() OVERRIDE; 71 virtual scoped_ptr<PolicyBundle> CreatePolicyBundle() OVERRIDE;
72 72
73 // CloudPolicyClient::Observer: 73 // CloudPolicyClient::Observer:
74 virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE; 74 virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
75 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE; 75 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE;
76 virtual void OnRobotAuthCodesFetched(CloudPolicyClient* client) OVERRIDE;
76 virtual void OnClientError(CloudPolicyClient* client) OVERRIDE; 77 virtual void OnClientError(CloudPolicyClient* client) OVERRIDE;
77 78
78 // ComponentCloudPolicyService::Observer: 79 // ComponentCloudPolicyService::Observer:
79 virtual void OnComponentCloudPolicyRefreshNeeded() OVERRIDE; 80 virtual void OnComponentCloudPolicyRefreshNeeded() OVERRIDE;
80 virtual void OnComponentCloudPolicyUpdated() OVERRIDE; 81 virtual void OnComponentCloudPolicyUpdated() OVERRIDE;
81 82
82 private: 83 private:
83 // Completion handler for the explicit policy fetch triggered on startup in 84 // Completion handler for the explicit policy fetch triggered on startup in
84 // case |wait_for_policy_fetch_| is true. |success| is true if the fetch was 85 // case |wait_for_policy_fetch_| is true. |success| is true if the fetch was
85 // successful. 86 // successful.
(...skipping 14 matching lines...) Expand all
100 101
101 // The pref service to pass to the refresh scheduler on initialization. 102 // The pref service to pass to the refresh scheduler on initialization.
102 PrefService* local_state_; 103 PrefService* local_state_;
103 104
104 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyManagerChromeOS); 105 DISALLOW_COPY_AND_ASSIGN(UserCloudPolicyManagerChromeOS);
105 }; 106 };
106 107
107 } // namespace policy 108 } // namespace policy
108 109
109 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_CHROMEOS_H_ 110 #endif // CHROME_BROWSER_CHROMEOS_POLICY_USER_CLOUD_POLICY_MANAGER_CHROMEOS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698