OLD | NEW |
(Empty) | |
| 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. |
| 4 |
| 5 #ifndef COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_ |
| 6 #define COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_ |
| 7 |
| 8 #include <string> |
| 9 |
| 10 #include "content/public/browser/web_ui_controller.h" |
| 11 |
| 12 namespace proximity_auth { |
| 13 |
| 14 class ProximityAuthService; |
| 15 |
| 16 // The WebUI controller for chrome://proximity-auth. |
| 17 class ProximityAuthUI : public content::WebUIController { |
| 18 public: |
| 19 // Note: |web_ui| is not owned by this instance. |
| 20 explicit ProximityAuthUI(content::WebUI* web_ui); |
| 21 ~ProximityAuthUI() override; |
| 22 |
| 23 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(ProximityAuthUI); |
| 25 }; |
| 26 |
| 27 } // namespace proximity_auth |
| 28 |
| 29 #endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_ |
OLD | NEW |