| // Copyright 2013 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "chrome/browser/policy/cloud/component_cloud_policy_service.h" |
| |
| #include "base/sequenced_task_runner.h" |
| #include "net/url_request/url_request_context_getter.h" |
| |
| namespace policy { |
| |
| ComponentCloudPolicyService::Delegate::~Delegate() {} |
| |
| ComponentCloudPolicyService::ComponentCloudPolicyService( |
| Delegate* delegate, |
| SchemaRegistry* schema_registry, |
| CloudPolicyCore* core, |
| scoped_refptr<net::URLRequestContextGetter> request_context, |
| scoped_refptr<base::SequencedTaskRunner> backend_task_runner, |
| scoped_refptr<base::SequencedTaskRunner> io_task_runner) |
| : started_loading_initial_policy_(false), |
| loaded_initial_policy_(true), |
| is_registered_for_cloud_policy_(false), |
| weak_ptr_factory_(this) {} |
| |
| ComponentCloudPolicyService::~ComponentCloudPolicyService() {} |
| |
| // static |
| bool ComponentCloudPolicyService::SupportsDomain(PolicyDomain domain) { |
| return false; |
| } |
| |
| void ComponentCloudPolicyService::OnSchemaRegistryReady() {} |
| |
| void ComponentCloudPolicyService::OnSchemaRegistryUpdated( |
| bool has_new_schemas) {} |
| |
| void ComponentCloudPolicyService::OnCoreConnected(CloudPolicyCore* core) {} |
| |
| void ComponentCloudPolicyService::OnCoreDisconnecting(CloudPolicyCore* core) {} |
| |
| void ComponentCloudPolicyService::OnRefreshSchedulerStarted( |
| CloudPolicyCore* core) {} |
| |
| void ComponentCloudPolicyService::OnStoreLoaded(CloudPolicyStore* store) {} |
| |
| void ComponentCloudPolicyService::OnStoreError(CloudPolicyStore* store) {} |
| |
| void ComponentCloudPolicyService::OnPolicyFetched(CloudPolicyClient* client) {} |
| |
| void ComponentCloudPolicyService::OnRegistrationStateChanged( |
| CloudPolicyClient* client) {} |
| |
| void ComponentCloudPolicyService::OnClientError(CloudPolicyClient* client) {} |
| |
| } // namespace policy |