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

Side by Side Diff: components/proximity_auth/webui/proximity_auth_ui.h

Issue 1302313004: Replace ProximityAuthUIDelegate with ProximityAuthClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@proximity_auth_client
Patch Set: fixes Created 5 years, 3 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_ 5 #ifndef COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_
6 #define COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_ 6 #define COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "content/public/browser/web_ui_controller.h" 10 #include "content/public/browser/web_ui_controller.h"
11 11
12 namespace proximity_auth { 12 namespace proximity_auth {
13 13
14 class ProximityAuthUIDelegate; 14 class ProximityAuthClient;
15 15
16 // The WebUI controller for chrome://proximity-auth. 16 // The WebUI controller for chrome://proximity-auth.
17 class ProximityAuthUI : public content::WebUIController { 17 class ProximityAuthUI : public content::WebUIController {
18 public: 18 public:
19 // Note: |web_ui| and |delegate| are not owned by this instance and must 19 // Note: |web_ui| and |delegate| are not owned by this instance and must
20 // outlive this instance. 20 // outlive this instance.
21 ProximityAuthUI(content::WebUI* web_ui, ProximityAuthUIDelegate* delegate); 21 ProximityAuthUI(content::WebUI* web_ui, ProximityAuthClient* delegate);
22 ~ProximityAuthUI() override; 22 ~ProximityAuthUI() override;
23 23
24 private: 24 private:
25 DISALLOW_COPY_AND_ASSIGN(ProximityAuthUI); 25 DISALLOW_COPY_AND_ASSIGN(ProximityAuthUI);
26 }; 26 };
27 27
28 } // namespace proximity_auth 28 } // namespace proximity_auth
29 29
30 #endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_ 30 #endif // COMPONENTS_PROXIMITY_AUTH_WEBUI_PROXIMITY_AUTH_UI_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698