OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 CHROME_BROWSER_UI_WEBUI_SIGNIN_PROFILE_SIGNIN_CONFIRMATION_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_PROFILE_SIGNIN_CONFIRMATION_DIALOG_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_PROFILE_SIGNIN_CONFIRMATION_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_PROFILE_SIGNIN_CONFIRMATION_DIALOG_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/strings/string16.h" | 11 #include "base/strings/string16.h" |
12 #include "chrome/browser/history/history_types.h" | |
13 #include "chrome/browser/ui/sync/profile_signin_confirmation_helper.h" | 12 #include "chrome/browser/ui/sync/profile_signin_confirmation_helper.h" |
14 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" | 13 #include "chrome/browser/ui/webui/constrained_web_dialog_ui.h" |
| 14 #include "components/history/core/browser/history_types.h" |
15 #include "ui/base/ui_base_types.h" | 15 #include "ui/base/ui_base_types.h" |
16 #include "ui/web_dialogs/web_dialog_delegate.h" | 16 #include "ui/web_dialogs/web_dialog_delegate.h" |
17 | 17 |
18 class Browser; | 18 class Browser; |
19 class Profile; | 19 class Profile; |
20 class WebUIMessageHandler; | 20 class WebUIMessageHandler; |
21 | 21 |
22 namespace content { | 22 namespace content { |
23 class WebContents; | 23 class WebContents; |
24 } | 24 } |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 bool prompt_for_new_profile_; | 82 bool prompt_for_new_profile_; |
83 | 83 |
84 // Cleanup bookkeeping. Labeled mutable to get around inherited const | 84 // Cleanup bookkeeping. Labeled mutable to get around inherited const |
85 // label on GetWebUIMessageHandlers. | 85 // label on GetWebUIMessageHandlers. |
86 mutable bool closed_by_handler_; | 86 mutable bool closed_by_handler_; |
87 | 87 |
88 DISALLOW_COPY_AND_ASSIGN(ProfileSigninConfirmationDialog); | 88 DISALLOW_COPY_AND_ASSIGN(ProfileSigninConfirmationDialog); |
89 }; | 89 }; |
90 | 90 |
91 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_PROFILE_SIGNIN_CONFIRMATION_DIALOG_H_ | 91 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_PROFILE_SIGNIN_CONFIRMATION_DIALOG_H_ |
OLD | NEW |