blob: 385176411764c12bf620daa36f4c9a5bfdf7f7f6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
// Copyright 2019 The Chromium Authors. All rights reserved.
// 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_CHROMEOS_MACHINE_LEARNING_MACHINE_LEARNING_INTERNALS_UI_H_
#define CHROME_BROWSER_UI_WEBUI_CHROMEOS_MACHINE_LEARNING_MACHINE_LEARNING_INTERNALS_UI_H_
#include <memory>
#include "base/macros.h"
#include "chrome/browser/ui/webui/chromeos/machine_learning/machine_learning_internals_page_handler.mojom.h"
#include "ui/webui/mojo_web_ui_controller.h"
namespace chromeos {
namespace machine_learning {
class MachineLearningInternalsPageHandler;
// UI controller for machine learning internals page
class MachineLearningInternalsUI : public ui::MojoWebUIController {
public:
explicit MachineLearningInternalsUI(content::WebUI* web_ui);
~MachineLearningInternalsUI() override;
private:
void BindMachineLearningInternalsPageHandler(
mojom::PageHandlerRequest request);
std::unique_ptr<MachineLearningInternalsPageHandler> page_handler_;
DISALLOW_COPY_AND_ASSIGN(MachineLearningInternalsUI);
};
} // namespace machine_learning
} // namespace chromeos
#endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_MACHINE_LEARNING_MACHINE_LEARNING_INTERNALS_UI_H_
|