Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1189)

Unified Diff: components/proximity_auth/webui/proximity_auth_ui.h

Issue 1080163002: Add new chrome://proximity-auth WebUI for debugging Smart Lock. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/proximity_auth/webui/DEPS ('k') | components/proximity_auth/webui/proximity_auth_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..04b169b483c7c82b8712cb9ffa35f98e2d558eb9
--- /dev/null
+++ b/components/proximity_auth/webui/proximity_auth_ui.h
@@ -0,0 +1,29 @@
+// 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:
+ // Note: |web_ui| is not owned by this instance.
+ explicit ProximityAuthUI(content::WebUI* web_ui);
+ ~ProximityAuthUI() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ProximityAuthUI);
+};
+
+} // namespace proximity_auth
+
+#endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_
« no previous file with comments | « components/proximity_auth/webui/DEPS ('k') | components/proximity_auth/webui/proximity_auth_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698