// Copyright 2023 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_UI_WEBUI_HATS_HATS_PAGE_HANDLER_H_ #define CHROME_BROWSER_UI_WEBUI_HATS_HATS_PAGE_HANDLER_H_ #include "base/values.h" #include "chrome/browser/ui/webui/hats/hats.mojom.h" #include "mojo/public/cpp/bindings/receiver.h" #include "mojo/public/cpp/bindings/remote.h" // Interface for a HatsPageDelegate. // This interface is implemented in classes that want to show and control a HaTS // WebUI for a survey. class HatsPageHandlerDelegate { … }; class HatsPageHandler : public hats::mojom::PageHandler { … }; #endif // CHROME_BROWSER_UI_WEBUI_HATS_HATS_PAGE_HANDLER_H_