OLD | NEW |
| (Empty) |
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 "chrome/browser/policy/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 | |
10 namespace policy { | |
11 | |
12 ComponentCloudPolicyService::Delegate::~Delegate() {} | |
13 | |
14 ComponentCloudPolicyService::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 | |
26 ComponentCloudPolicyService::~ComponentCloudPolicyService() {} | |
27 | |
28 // static | |
29 bool ComponentCloudPolicyService::SupportsDomain(PolicyDomain domain) { | |
30 return false; | |
31 } | |
32 | |
33 void ComponentCloudPolicyService::OnSchemaRegistryReady() {} | |
34 | |
35 void ComponentCloudPolicyService::OnSchemaRegistryUpdated( | |
36 bool has_new_schemas) {} | |
37 | |
38 void ComponentCloudPolicyService::OnCoreConnected(CloudPolicyCore* core) {} | |
39 | |
40 void ComponentCloudPolicyService::OnCoreDisconnecting(CloudPolicyCore* core) {} | |
41 | |
42 void ComponentCloudPolicyService::OnRefreshSchedulerStarted( | |
43 CloudPolicyCore* core) {} | |
44 | |
45 void ComponentCloudPolicyService::OnStoreLoaded(CloudPolicyStore* store) {} | |
46 | |
47 void ComponentCloudPolicyService::OnStoreError(CloudPolicyStore* store) {} | |
48 | |
49 void ComponentCloudPolicyService::OnPolicyFetched(CloudPolicyClient* client) {} | |
50 | |
51 void ComponentCloudPolicyService::OnRegistrationStateChanged( | |
52 CloudPolicyClient* client) {} | |
53 | |
54 void ComponentCloudPolicyService::OnClientError(CloudPolicyClient* client) {} | |
55 | |
56 } // namespace policy | |
OLD | NEW |