Chromium Code Reviews| Index: chrome/browser/ui/webui/signin/signin_error_handler.h |
| diff --git a/chrome/browser/ui/webui/signin/signin_error_handler.h b/chrome/browser/ui/webui/signin/signin_error_handler.h |
| index 3de30be7ce9488441f4df941514f1385e73c186f..563f08cc93fa98d9cd5d5d15ab6e2029653754c5 100644 |
| --- a/chrome/browser/ui/webui/signin/signin_error_handler.h |
| +++ b/chrome/browser/ui/webui/signin/signin_error_handler.h |
| @@ -19,7 +19,8 @@ class ListValue; |
| class SigninErrorHandler : public content::WebUIMessageHandler { |
| public: |
| - SigninErrorHandler() {} |
| + explicit SigninErrorHandler(bool is_system_profile); |
| + |
| ~SigninErrorHandler() override {} |
| // content::WebUIMessageHandler: |
| @@ -53,11 +54,13 @@ class SigninErrorHandler : public content::WebUIMessageHandler { |
| // a single integer value for the height the native view should resize to. |
| virtual void HandleInitializedWithSize(const base::ListValue* args); |
| - void CloseDialog(); |
| + virtual void CloseDialog(); |
|
tommycli
2016/09/21 21:26:16
nit: no need for virtual anymore.
zmin
2016/09/21 21:52:05
Done.
|
| private: |
| const ProfileAttributesEntry* duplicate_profile_entry_ = nullptr; |
| + bool is_system_profile_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(SigninErrorHandler); |
| }; |