| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_EXTENSIONS_INSTALL_OBSERVER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ui/gfx/image/image_skia.h" | 10 #include "ui/gfx/image/image_skia.h" |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 // simply forwarded from the chrome::NOTIFICATIONs. | 62 // simply forwarded from the chrome::NOTIFICATIONs. |
| 63 virtual void OnDisabledExtensionUpdated(const Extension* extension) {} | 63 virtual void OnDisabledExtensionUpdated(const Extension* extension) {} |
| 64 | 64 |
| 65 // Called when the app list is reordered. | 65 // Called when the app list is reordered. |
| 66 virtual void OnAppsReordered() {} | 66 virtual void OnAppsReordered() {} |
| 67 | 67 |
| 68 // Notifies observers that the observed object is going away. | 68 // Notifies observers that the observed object is going away. |
| 69 virtual void OnShutdown() {} | 69 virtual void OnShutdown() {} |
| 70 | 70 |
| 71 protected: | 71 protected: |
| 72 InstallObserver() = default; |
| 72 virtual ~InstallObserver() {} | 73 virtual ~InstallObserver() {} |
| 73 }; | 74 }; |
| 74 | 75 |
| 75 } // namespace extensions | 76 } // namespace extensions |
| 76 | 77 |
| 77 #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ | 78 #endif // CHROME_BROWSER_EXTENSIONS_INSTALL_OBSERVER_H_ |
| OLD | NEW |