1// Copyright 2013 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include "components/policy/core/common/cloud/component_cloud_policy_service.h"
6
7#include "base/sequenced_task_runner.h"
8#include "net/url_request/url_request_context_getter.h"
9
10namespace policy {
11
12ComponentCloudPolicyService::Delegate::~Delegate() {}
13
14ComponentCloudPolicyService::ComponentCloudPolicyService(
15    Delegate* delegate,
16    SchemaRegistry* schema_registry,
17    CloudPolicyCore* core,
18    scoped_refptr<net::URLRequestContextGetter> request_context,
19    scoped_refptr<base::SequencedTaskRunner> backend_task_runner,
20    scoped_refptr<base::SequencedTaskRunner> io_task_runner)
21    : started_loading_initial_policy_(false),
22      loaded_initial_policy_(true),
23      is_registered_for_cloud_policy_(false),
24      weak_ptr_factory_(this) {}
25
26ComponentCloudPolicyService::~ComponentCloudPolicyService() {}
27
28// static
29bool ComponentCloudPolicyService::SupportsDomain(PolicyDomain domain) {
30  return false;
31}
32
33void ComponentCloudPolicyService::OnSchemaRegistryReady() {}
34
35void ComponentCloudPolicyService::OnSchemaRegistryUpdated(
36    bool has_new_schemas) {}
37
38void ComponentCloudPolicyService::OnCoreConnected(CloudPolicyCore* core) {}
39
40void ComponentCloudPolicyService::OnCoreDisconnecting(CloudPolicyCore* core) {}
41
42void ComponentCloudPolicyService::OnRefreshSchedulerStarted(
43    CloudPolicyCore* core) {}
44
45void ComponentCloudPolicyService::OnStoreLoaded(CloudPolicyStore* store) {}
46
47void ComponentCloudPolicyService::OnStoreError(CloudPolicyStore* store) {}
48
49void ComponentCloudPolicyService::OnPolicyFetched(CloudPolicyClient* client) {}
50
51void ComponentCloudPolicyService::OnRegistrationStateChanged(
52    CloudPolicyClient* client) {}
53
54void ComponentCloudPolicyService::OnClientError(CloudPolicyClient* client) {}
55
56}  // namespace policy
57