| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_SIGNIN_ERROR_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "content/public/browser/web_ui_message_handler.h" | 12 #include "content/public/browser/web_ui_message_handler.h" |
| 13 | 13 |
| 14 class Browser; | |
| 15 | |
| 16 namespace base { | 14 namespace base { |
| 17 class ListValue; | 15 class ListValue; |
| 18 } | 16 } |
| 19 | 17 |
| 20 class SigninErrorHandler : public content::WebUIMessageHandler { | 18 class SigninErrorHandler : public content::WebUIMessageHandler { |
| 21 public: | 19 public: |
| 22 explicit SigninErrorHandler(bool is_system_profile); | 20 explicit SigninErrorHandler(bool is_system_profile); |
| 23 | 21 |
| 24 ~SigninErrorHandler() override {} | 22 ~SigninErrorHandler() override {} |
| 25 | 23 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 58 |
| 61 private: | 59 private: |
| 62 base::FilePath duplicate_profile_path_; | 60 base::FilePath duplicate_profile_path_; |
| 63 | 61 |
| 64 bool is_system_profile_; | 62 bool is_system_profile_; |
| 65 | 63 |
| 66 DISALLOW_COPY_AND_ASSIGN(SigninErrorHandler); | 64 DISALLOW_COPY_AND_ASSIGN(SigninErrorHandler); |
| 67 }; | 65 }; |
| 68 | 66 |
| 69 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_HANDLER_H_ | 67 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_ERROR_HANDLER_H_ |
| OLD | NEW |