summaryrefslogtreecommitdiffstats
path: root/components/proximity_auth/webui/proximity_auth_ui.h
blob: 09c9dcbc810fa33649c5a4dbba3b85a2e2ca987d (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
// Copyright 2015 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 COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_
#define COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_

#include <string>

#include "base/macros.h"
#include "content/public/browser/web_ui_controller.h"

namespace proximity_auth {

class ProximityAuthClient;

// The WebUI controller for chrome://proximity-auth.
class ProximityAuthUI : public content::WebUIController {
 public:
  // Note: |web_ui| and |delegate| are not owned by this instance and must
  // outlive this instance.
  ProximityAuthUI(content::WebUI* web_ui, ProximityAuthClient* delegate);
  ~ProximityAuthUI() override;

 private:
  DISALLOW_COPY_AND_ASSIGN(ProximityAuthUI);
};

}  // namespace proximity_auth

#endif  // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_