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" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/scoped_observer.h" | 13 #include "base/scoped_observer.h" |
14 #include "base/strings/string16.h" | 14 #include "base/strings/string16.h" |
15 #include "chrome/browser/profiles/profile.h" | 15 #include "chrome/browser/profiles/profile.h" |
| 16 #include "chrome/browser/supervised_user/supervised_users.h" |
16 #include "content/public/browser/web_ui_message_handler.h" | 17 #include "content/public/browser/web_ui_message_handler.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class DictionaryValue; | 20 class DictionaryValue; |
20 class ListValue; | 21 class ListValue; |
21 } | 22 } |
22 | 23 |
23 // Handler for the 'import existing supervised user' dialog. | 24 // Handler for the 'import existing supervised user' dialog. |
24 class SigninSupervisedUserImportHandler : public content::WebUIMessageHandler { | 25 class SigninSupervisedUserImportHandler : public content::WebUIMessageHandler { |
25 public: | 26 public: |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 std::string webui_callback_id_; | 88 std::string webui_callback_id_; |
88 | 89 |
89 Profile* last_used_profile; | 90 Profile* last_used_profile; |
90 | 91 |
91 base::WeakPtrFactory<SigninSupervisedUserImportHandler> weak_ptr_factory_; | 92 base::WeakPtrFactory<SigninSupervisedUserImportHandler> weak_ptr_factory_; |
92 | 93 |
93 DISALLOW_COPY_AND_ASSIGN(SigninSupervisedUserImportHandler); | 94 DISALLOW_COPY_AND_ASSIGN(SigninSupervisedUserImportHandler); |
94 }; | 95 }; |
95 | 96 |
96 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_SUPERVISED_USER_IMPORT_HANDLER_H
_ | 97 #endif // CHROME_BROWSER_UI_WEBUI_SIGNIN_SIGNIN_SUPERVISED_USER_IMPORT_HANDLER_H
_ |
OLD | NEW |