1 // Copyright 2015 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 COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_
6 #define COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_
10 #include "content/public/browser/web_ui_controller.h"
12 namespace proximity_auth
{
14 class ProximityAuthClient
;
16 // The WebUI controller for chrome://proximity-auth.
17 class ProximityAuthUI
: public content::WebUIController
{
19 // Note: |web_ui| and |delegate| are not owned by this instance and must
20 // outlive this instance.
21 ProximityAuthUI(content::WebUI
* web_ui
, ProximityAuthClient
* delegate
);
22 ~ProximityAuthUI() override
;
25 DISALLOW_COPY_AND_ASSIGN(ProximityAuthUI
);
28 } // namespace proximity_auth
30 #endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_