chromium/components/policy/test_support/request_handler_for_policy.h

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef COMPONENTS_POLICY_TEST_SUPPORT_REQUEST_HANDLER_FOR_POLICY_H_
#define COMPONENTS_POLICY_TEST_SUPPORT_REQUEST_HANDLER_FOR_POLICY_H_

#include <string>

#include "components/policy/test_support/client_storage.h"
#include "components/policy/test_support/embedded_policy_test_server.h"

namespace enterprise_management {
class DevicePolicyResponse;
class PolicyFetchRequest;
class PolicyFetchResponse;
}  // namespace enterprise_management

namespace policy {

inline constexpr char kDefaultUsername[] =;

// Handler for request type `policy`.
class RequestHandlerForPolicy
    : public EmbeddedPolicyTestServer::RequestHandler {};

}  // namespace policy

#endif  // COMPONENTS_POLICY_TEST_SUPPORT_REQUEST_HANDLER_FOR_POLICY_H_