| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_CHROMEOS_LOGIN_UI_USER_ADDING_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_UI_USER_ADDING_SCREEN_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_USER_ADDING_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_UI_USER_ADDING_SCREEN_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 | 9 |
| 10 namespace chromeos { | 10 namespace chromeos { |
| 11 | 11 |
| 12 // An interface that defines screen for adding users into multi-profile session. | 12 // An interface that defines screen for adding users into multi-profile session. |
| 13 // Current implementation is a singleton. | 13 // Current implementation is a singleton. |
| 14 // TODO(dzhioev): get rid of singleton. | 14 // TODO(dzhioev): get rid of singleton. |
| 15 class UserAddingScreen { | 15 class UserAddingScreen { |
| 16 public: | 16 public: |
| 17 struct Observer { | 17 struct Observer { |
| 18 virtual void OnUserAddingStarted() {} | 18 virtual void OnUserAddingStarted() {} |
| (...skipping 14 matching lines...) Expand all Loading... |
| 33 UserAddingScreen(); | 33 UserAddingScreen(); |
| 34 virtual ~UserAddingScreen(); | 34 virtual ~UserAddingScreen(); |
| 35 | 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(UserAddingScreen); | 36 DISALLOW_COPY_AND_ASSIGN(UserAddingScreen); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace chromeos | 39 } // namespace chromeos |
| 40 | 40 |
| 41 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_USER_ADDING_SCREEN_H_ | 41 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_UI_USER_ADDING_SCREEN_H_ |
| 42 | 42 |
| OLD | NEW |