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 #ifndef CHROME_BROWSER_CHROMEOS_POLICY_FAKE_CONSUMER_MANAGEMENT_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_POLICY_FAKE_CONSUMER_MANAGEMENT_SERVICE_H_
8 #include "base/macros.h"
9 #include "chrome/browser/chromeos/policy/consumer_management_service.h"
10 #include "chrome/browser/chromeos/policy/consumer_management_stage.h"
14 class FakeConsumerManagementService
: public ConsumerManagementService
{
16 FakeConsumerManagementService();
17 ~FakeConsumerManagementService() override
;
19 // Set both status and stage.
20 void SetStatusAndStage(Status status
, const ConsumerManagementStage
& stage
);
22 // ConsumerManagementServcie:
23 Status
GetStatus() const override
;
24 ConsumerManagementStage
GetStage() const override
;
25 void SetStage(const ConsumerManagementStage
& stage
) override
;
29 ConsumerManagementStage stage_
;
31 DISALLOW_COPY_AND_ASSIGN(FakeConsumerManagementService
);
36 #endif // CHROME_BROWSER_CHROMEOS_POLICY_FAKE_CONSUMER_MANAGEMENT_SERVICE_H_