Switch global error menu icon to vectorized MD asset
[chromium-blink-merge.git] / chrome / browser / policy / profile_policy_connector_stub.cc
blob08acaab8458343d68945456314df6057208a0fcf
1 // Copyright (c) 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.
5 #include "chrome/browser/policy/profile_policy_connector.h"
7 #include "components/policy/core/common/policy_service_stub.h"
9 namespace policy {
11 ProfilePolicyConnector::ProfilePolicyConnector() {}
13 ProfilePolicyConnector::~ProfilePolicyConnector() {}
15 void ProfilePolicyConnector::Init(
16 SchemaRegistry* schema_registry,
17 CloudPolicyManager* user_cloud_policy_manager) {
18 policy_service_.reset(new PolicyServiceStub());
21 void ProfilePolicyConnector::InitForTesting(scoped_ptr<PolicyService> service) {
22 policy_service_ = service.Pass();
25 void ProfilePolicyConnector::Shutdown() {}
27 bool ProfilePolicyConnector::IsManaged() const {
28 return false;
31 std::string ProfilePolicyConnector::GetManagementDomain() const {
32 return "";
35 bool ProfilePolicyConnector::IsPolicyFromCloudPolicy(const char* name) const {
36 return false;
39 } // namespace policy