Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_UI_AVATAR_BUTTON_ERROR_CONTROLLER_DELEGATE_H_ | |
| 6 #define CHROME_BROWSER_UI_AVATAR_BUTTON_ERROR_CONTROLLER_DELEGATE_H_ | |
| 7 | |
| 8 // Delegate that allows AvatarButtonErrorController to communicate to | |
| 9 // NewAvatarButton. | |
| 10 class AvatarButtonErrorControllerDelegate { | |
| 11 public: | |
| 12 // Called when the signin/sync errors that should be exposed in the avatar | |
| 13 // button change. | |
| 14 virtual void OnAvatarErrorChanged() = 0; | |
| 15 }; | |
|
sky
2016/08/01 22:59:40
Add a virtual destructor in the protected section
Jane
2016/08/02 14:23:18
Done. Is it ok to inline it here? Couldn't think o
sky
2016/08/02 19:34:40
Yes. We generally inline destructor for pure virtu
| |
| 16 | |
| 17 #endif // CHROME_BROWSER_UI_AVATAR_BUTTON_ERROR_CONTROLLER_DELEGATE_H_ | |
| OLD | NEW |