| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2013 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_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_OBSERVER_H_ |
| 6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_OBSERVER_H_ |
| 7 |
| 8 #include "base/basictypes.h" |
| 9 |
| 10 struct CrxUpdateItem; |
| 11 |
| 12 namespace component_updater { |
| 13 |
| 14 // Provides an event sink for the ComponentUpdaterService. |
| 15 class ComponentUpdaterServiceObserver { |
| 16 public: |
| 17 virtual ~ComponentUpdaterServiceObserver() {} |
| 18 |
| 19 // The update has completed, with success or with an error. The |item| object |
| 20 // contains the state of the update at the completion time. |
| 21 virtual void OnUpdateComplete(const CrxUpdateItem* item) = 0; |
| 22 }; |
| 23 |
| 24 } // namespace component_updater |
| 25 |
| 26 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_OBSERVER_H
_ |
| 27 |
| OLD | NEW |