OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_SYNC_CONFIRMATION_UI_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SYNC_CONFIRMATION_UI_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "ui/web_dialogs/web_dialog_ui.h" |
| 10 |
| 11 class SyncConfirmationHandler; |
| 12 |
| 13 namespace ui { |
| 14 class WebUI; |
| 15 } |
| 16 |
| 17 class SyncConfirmationUI : public ui::WebDialogUI { |
| 18 public: |
| 19 explicit SyncConfirmationUI(content::WebUI* web_ui); |
| 20 // Used to inject a SyncConfirmationHandler in tests. |
| 21 SyncConfirmationUI(content::WebUI* web_ui, SyncConfirmationHandler* handler); |
| 22 ~SyncConfirmationUI() override {} |
| 23 |
| 24 DISALLOW_COPY_AND_ASSIGN(SyncConfirmationUI); |
| 25 }; |
| 26 |
| 27 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SYNC_CONFIRMATION_UI_H_ |
OLD | NEW |