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

Unified Diff: chrome/browser/policy/cloud/component_cloud_policy_service_stub.cc

Issue 79023002: Support cloud policy for extensions on the desktop platforms. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/policy/cloud/component_cloud_policy_service_stub.cc
diff --git a/chrome/browser/policy/cloud/component_cloud_policy_service_stub.cc b/chrome/browser/policy/cloud/component_cloud_policy_service_stub.cc
new file mode 100644
index 0000000000000000000000000000000000000000..91e1f46c5f8df9037cfc8bd1e91f92a7942c6cf3
--- /dev/null
+++ b/chrome/browser/policy/cloud/component_cloud_policy_service_stub.cc
@@ -0,0 +1,56 @@
+// Copyright (c) 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
« no previous file with comments | « chrome/browser/policy/cloud/component_cloud_policy_service.cc ('k') | chrome/browser/policy/cloud/user_cloud_policy_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698