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

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: 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
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_

Powered by Google App Engine
This is Rietveld 408576698