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

Side by Side Diff: chrome/browser/policy/cloud/component_cloud_policy_service_stub.cc

Issue 109743002: Move policy code into components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moar fixes Created 7 years 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 | Annotate | Revision Log
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698