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

Unified Diff: components/proximity_auth/webui/proximity_auth_webui_handler.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
Index: components/proximity_auth/webui/proximity_auth_webui_handler.h
diff --git a/components/proximity_auth/webui/proximity_auth_webui_handler.h b/components/proximity_auth/webui/proximity_auth_webui_handler.h
new file mode 100644
index 0000000000000000000000000000000000000000..8cc050895e9116cbffdfe01e1c4fabb3f5dde5ea
--- /dev/null
+++ b/components/proximity_auth/webui/proximity_auth_webui_handler.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_WEBUI_HANDLER_H_
+#define COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_WEBUI_HANDLER_H_
+
+#include "content/public/browser/web_ui_message_handler.h"
+
+namespace proximity_auth {
+
+class ProximityAuthService;
+
+// Handles messages from the chrome://proximity-auth page.
+class ProximityAuthWebUIHandler : public content::WebUIMessageHandler {
+ public:
+ ProximityAuthWebUIHandler();
+ ~ProximityAuthWebUIHandler() override;
+
+ // content::WebUIMessageHandler implementation.
+ void RegisterMessages() override;
+
+ private:
+ DISALLOW_COPY_AND_ASSIGN(ProximityAuthWebUIHandler);
+};
+
+} // namespace proximity_auth
+
+#endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_WEBUI_HANDLER_H_
« no previous file with comments | « components/proximity_auth/webui/proximity_auth_ui.cc ('k') | components/proximity_auth/webui/proximity_auth_webui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698