| 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_SUPERVISED_USER_IMPORT_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_SUPERVISED_USER_IMPORT_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_SUPERVISED_USER_IMPORT_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_SUPERVISED_USER_IMPORT_HANDLER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/callback_list.h" | 10 #include "base/callback_list.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 void SendExistingSupervisedUsers(Profile* profile, | 76 void SendExistingSupervisedUsers(Profile* profile, |
| 77 const base::DictionaryValue* dict); | 77 const base::DictionaryValue* dict); |
| 78 | 78 |
| 79 bool IsAccountConnected(Profile* profile) const; | 79 bool IsAccountConnected(Profile* profile) const; |
| 80 bool HasAuthError(Profile* profile) const; | 80 bool HasAuthError(Profile* profile) const; |
| 81 | 81 |
| 82 // The WebUI callback ID of the last in-flight async request. There is always | 82 // The WebUI callback ID of the last in-flight async request. There is always |
| 83 // only one in-flight such request. | 83 // only one in-flight such request. |
| 84 std::string webui_callback_id_; | 84 std::string webui_callback_id_; |
| 85 | 85 |
| 86 Profile* last_used_profile; |
| 87 |
| 86 base::WeakPtrFactory<SigninSupervisedUserImportHandler> weak_ptr_factory_; | 88 base::WeakPtrFactory<SigninSupervisedUserImportHandler> weak_ptr_factory_; |
| 87 | 89 |
| 88 DISALLOW_COPY_AND_ASSIGN(SigninSupervisedUserImportHandler); | 90 DISALLOW_COPY_AND_ASSIGN(SigninSupervisedUserImportHandler); |
| 89 }; | 91 }; |
| 90 | 92 |
| 91 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_SUPERVISED_USER_IMPORT_HANDLER_H
_ | 93 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_SUPERVISED_USER_IMPORT_HANDLER_H
_ |
| OLD | NEW |