1 // Copyright 2014 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/chromeos/policy/fake_consumer_management_service.h"
9 FakeConsumerManagementService::FakeConsumerManagementService()
10 : ConsumerManagementService(NULL
, NULL
),
11 status_(STATUS_UNKNOWN
),
12 stage_(ConsumerManagementStage::None()) {
15 FakeConsumerManagementService::~FakeConsumerManagementService() {
18 void FakeConsumerManagementService::SetStatusAndStage(
19 Status status
, const ConsumerManagementStage
& stage
) {
24 ConsumerManagementService::Status
25 FakeConsumerManagementService::GetStatus() const {
29 ConsumerManagementStage
FakeConsumerManagementService::GetStage() const {
33 void FakeConsumerManagementService::SetStage(
34 const ConsumerManagementStage
& stage
) {
36 NotifyStatusChanged();