Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / chromeos / policy / fake_consumer_management_service.h
blobfdd588e4f4b175064aa190a5ddfcd5377623da92
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"
12 namespace policy {
14 class FakeConsumerManagementService : public ConsumerManagementService {
15 public:
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;
27 private:
28 Status status_;
29 ConsumerManagementStage stage_;
31 DISALLOW_COPY_AND_ASSIGN(FakeConsumerManagementService);
34 } // namespace policy
36 #endif // CHROME_BROWSER_CHROMEOS_POLICY_FAKE_CONSUMER_MANAGEMENT_SERVICE_H_