Chromium Code Reviews| Index: components/proximity_auth/webui/proximity_auth_ui.h |
| diff --git a/components/proximity_auth/webui/proximity_auth_ui.h b/components/proximity_auth/webui/proximity_auth_ui.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..de4697c25a400f3c86453aca0d4e2502ce07f12b |
| --- /dev/null |
| +++ b/components/proximity_auth/webui/proximity_auth_ui.h |
| @@ -0,0 +1,28 @@ |
| +// 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 "content/public/browser/web_ui_controller.h" |
| + |
| +namespace proximity_auth { |
| + |
| +class ProximityAuthService; |
| + |
| +// The WebUI controller for chrome://proximity-auth. |
| +class ProximityAuthUI : public content::WebUIController { |
| + public: |
| + ProximityAuthUI(content::WebUI* web_ui); |
|
Ilya Sherman
2015/04/14 00:25:44
Please document lifetime or ownership semantics fo
Ilya Sherman
2015/04/14 00:25:44
nit: explicit
Tim Song
2015/04/14 06:00:12
Done.
Tim Song
2015/04/14 06:00:12
Done.
|
| + ~ProximityAuthUI() override; |
| + |
| + private: |
| + DISALLOW_COPY_AND_ASSIGN(ProximityAuthUI); |
| +}; |
| + |
| +} // namespace proximity_auth |
| + |
| +#endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_ |