HomeSort by relevance Sort by last modified time
    Searched refs:CloudPolicyClient (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium_org/components/policy/core/common/cloud/
mock_cloud_policy_client.h 17 class MockCloudPolicyClient : public CloudPolicyClient {
42 using CloudPolicyClient::NotifyPolicyFetched;
43 using CloudPolicyClient::NotifyRegistrationStateChanged;
44 using CloudPolicyClient::NotifyClientError;
46 using CloudPolicyClient::dm_token_;
47 using CloudPolicyClient::client_id_;
48 using CloudPolicyClient::submit_machine_id_;
49 using CloudPolicyClient::last_policy_timestamp_;
50 using CloudPolicyClient::public_key_version_;
51 using CloudPolicyClient::public_key_version_valid_
    [all...]
cloud_policy_client_registration_helper.h 27 // Helper class that registers a CloudPolicyClient. It fetches an OAuth2 token
32 public CloudPolicyClient::Observer {
39 CloudPolicyClient* client,
75 // CloudPolicyClient::Observer implementation:
76 virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
77 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE;
78 virtual void OnClientError(CloudPolicyClient* client) OVERRIDE;
100 // Access token used to register the CloudPolicyClient and also access
105 CloudPolicyClient* client_;
cloud_policy_refresh_scheduler.h 24 // Observes CloudPolicyClient and CloudPolicyStore to trigger periodic policy
27 : public CloudPolicyClient::Observer,
44 CloudPolicyClient* client,
72 // CloudPolicyClient::Observer:
73 virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
74 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE;
75 virtual void OnClientError(CloudPolicyClient* client) OVERRIDE;
116 CloudPolicyClient* client_;
cloud_policy_service.h 25 class POLICY_EXPORT CloudPolicyService : public CloudPolicyClient::Observer,
35 // policy load activity has completed and the CloudPolicyClient has
43 CloudPolicyClient* client,
59 // CloudPolicyClient::Observer:
60 virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
61 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE;
62 virtual void OnClientError(CloudPolicyClient* client) OVERRIDE;
83 CloudPolicyClient* client_;
cloud_policy_client.cc 43 CloudPolicyClient::Observer::~Observer() {}
45 void CloudPolicyClient::Observer::OnRobotAuthCodesFetched(
46 CloudPolicyClient* client) {}
48 CloudPolicyClient::StatusProvider::~StatusProvider() {}
50 CloudPolicyClient::CloudPolicyClient(
72 CloudPolicyClient::~CloudPolicyClient() {
76 void CloudPolicyClient::SetupRegistration(const std::string& dm_token,
90 void CloudPolicyClient::Register(em::DeviceRegisterRequest::Type type
    [all...]
cloud_policy_core.h 26 class CloudPolicyClient;
32 // obtaining a fully-functional cloud policy system: CloudPolicyClient and
60 CloudPolicyClient* client() { return client_.get(); }
61 const CloudPolicyClient* client() const { return client_.get(); }
77 void Connect(scoped_ptr<CloudPolicyClient> client);
107 scoped_ptr<CloudPolicyClient> client_;
component_cloud_policy_service_stub.cc 49 void ComponentCloudPolicyService::OnPolicyFetched(CloudPolicyClient* client) {}
52 CloudPolicyClient* client) {}
54 void ComponentCloudPolicyService::OnClientError(CloudPolicyClient* client) {}
cloud_policy_client.h 35 // Note that CloudPolicyClient doesn't do any validation of policy responses
38 class POLICY_EXPORT CloudPolicyClient {
55 virtual void OnPolicyFetched(CloudPolicyClient* client) = 0;
59 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) = 0;
64 virtual void OnRobotAuthCodesFetched(CloudPolicyClient* client);
67 virtual void OnClientError(CloudPolicyClient* client) = 0;
89 // responsibility to keep them valid for the lifetime of CloudPolicyClient.
90 CloudPolicyClient(
97 virtual ~CloudPolicyClient();
292 DISALLOW_COPY_AND_ASSIGN(CloudPolicyClient);
    [all...]
user_cloud_policy_manager.h 62 scoped_ptr<CloudPolicyClient> client);
70 // Returns true if the underlying CloudPolicyClient is already registered.
74 // Creates a CloudPolicyClient for this client. Used in situations where
77 static scoped_ptr<CloudPolicyClient> CreateCloudPolicyClient(
component_cloud_policy_service.h 41 : public CloudPolicyClient::Observer,
63 // |core| is used to obtain the CloudPolicyStore and CloudPolicyClient used
113 // CloudPolicyClient::Observer implementation:
114 virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
115 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE;
116 virtual void OnClientError(CloudPolicyClient* client) OVERRIDE;
user_cloud_policy_manager.cc 54 scoped_ptr<CloudPolicyClient> client) {
67 scoped_ptr<CloudPolicyClient>
72 new CloudPolicyClient(
mock_cloud_policy_client.cc 14 : CloudPolicyClient(std::string(),
cloud_policy_manager.h 85 CloudPolicyClient* client() { return core_.client(); }
86 const CloudPolicyClient* client() const { return core_.client(); }
cloud_policy_service.cc 15 CloudPolicyClient* client,
61 void CloudPolicyService::OnPolicyFetched(CloudPolicyClient* client) {
77 void CloudPolicyService::OnRegistrationStateChanged(CloudPolicyClient* client) {
80 void CloudPolicyService::OnClientError(CloudPolicyClient* client) {
  /external/chromium_org/chrome/browser/policy/cloud/
user_policy_signin_service_base.h 41 // ensures that the CloudPolicyClient is registered (in case the policy server
48 public CloudPolicyClient::Observer,
88 // CloudPolicyClient::Observer implementation:
89 virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
90 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE;
91 virtual void OnClientError(CloudPolicyClient* client) OVERRIDE;
108 // Returns a CloudPolicyClient to perform a registration with the DM server,
110 scoped_ptr<CloudPolicyClient> CreateClientForRegistrationOnly(
137 scoped_ptr<CloudPolicyClient> client);
user_policy_signin_service.h 41 // Registers a CloudPolicyClient for fetching policy for a user. The
63 scoped_ptr<CloudPolicyClient> client) OVERRIDE;
83 void CallPolicyRegistrationCallback(scoped_ptr<CloudPolicyClient> client,
89 // CloudPolicyClient registration.
user_policy_signin_service_base.cc 50 scoped_ptr<CloudPolicyClient> client(
100 void UserPolicySigninServiceBase::OnPolicyFetched(CloudPolicyClient* client) {}
103 CloudPolicyClient* client) {}
105 void UserPolicySigninServiceBase::OnClientError(CloudPolicyClient* client) {
116 // the CloudPolicyClient, so queue up a task to do the shutdown.
146 scoped_ptr<CloudPolicyClient>
156 return scoped_ptr<CloudPolicyClient>();
162 // Create a new CloudPolicyClient for fetching the DMToken.
231 scoped_ptr<CloudPolicyClient> client) {
user_policy_signin_service.cc 55 // before UserCloudPolicyManager shuts down the CloudPolicyClient.
72 // Create a new CloudPolicyClient for fetching the DMToken.
73 scoped_ptr<CloudPolicyClient> policy_client = CreateClientForRegistrationOnly(
80 // Fire off the registration process. Callback keeps the CloudPolicyClient
98 scoped_ptr<CloudPolicyClient> client,
124 scoped_ptr<CloudPolicyClient> client) {
169 // Start the process of registering the CloudPolicyClient. Once it completes,
user_policy_signin_service_android.h 40 // Registers a CloudPolicyClient for fetching policy for |username|.
49 void CallPolicyRegistrationCallback(scoped_ptr<CloudPolicyClient> client,
70 // CloudPolicyClient during registration.
  /external/chromium_org/chrome/browser/chromeos/policy/
enrollment_handler_chromeos.h 47 class EnrollmentHandlerChromeOS : public CloudPolicyClient::Observer,
64 scoped_ptr<CloudPolicyClient> client,
79 scoped_ptr<CloudPolicyClient> ReleaseClient();
81 // CloudPolicyClient::Observer:
82 virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
83 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE;
84 virtual void OnRobotAuthCodesFetched(CloudPolicyClient* client) OVERRIDE;
85 virtual void OnClientError(CloudPolicyClient* client) OVERRIDE;
150 scoped_ptr<CloudPolicyClient> client_;
user_cloud_policy_manager_chromeos.h 45 public CloudPolicyClient::Observer,
86 // Returns true if the underlying CloudPolicyClient is already registered.
100 // CloudPolicyClient::Observer:
101 virtual void OnPolicyFetched(CloudPolicyClient* client) OVERRIDE;
102 virtual void OnRegistrationStateChanged(CloudPolicyClient* client) OVERRIDE;
103 virtual void OnClientError(CloudPolicyClient* client) OVERRIDE;
device_cloud_policy_manager_chromeos.h 62 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider);
107 // Creates a new CloudPolicyClient.
108 scoped_ptr<CloudPolicyClient> CreateClient();
128 scoped_ptr<CloudPolicyClient::StatusProvider> device_status_provider_;
user_cloud_policy_manager_chromeos.cc 121 scoped_ptr<CloudPolicyClient> cloud_policy_client(
122 new CloudPolicyClient(std::string(), std::string(), user_affiliation,
197 // If the CloudPolicyClient isn't registered at this stage then it needs an
229 CloudPolicyClient* client) {
235 CloudPolicyClient* cloud_policy_client) {
260 CloudPolicyClient* cloud_policy_client) {
enrollment_handler_chromeos.cc 43 scoped_ptr<CloudPolicyClient> client,
84 scoped_ptr<CloudPolicyClient> EnrollmentHandlerChromeOS::ReleaseClient() {
89 void EnrollmentHandlerChromeOS::OnPolicyFetched(CloudPolicyClient* client) {
125 CloudPolicyClient* client) {
146 void EnrollmentHandlerChromeOS::OnClientError(CloudPolicyClient* client) {
215 CloudPolicyClient* client) {
  /external/chromium_org/chrome/browser/chromeos/attestation/
attestation_policy_observer.h 17 class CloudPolicyClient;
34 // changes. The CloudPolicyClient is used to upload the device certificate to
38 explicit AttestationPolicyObserver(policy::CloudPolicyClient* policy_client);
42 AttestationPolicyObserver(policy::CloudPolicyClient* policy_client,
92 policy::CloudPolicyClient* policy_client_;

Completed in 97 milliseconds

1 2