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
3 // found in the LICENSE file.
5 #ifndef EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_
6 #define EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_
10 namespace extensions
{
13 class UpdateObserver
{
15 // Invoked when an app update is available.
16 virtual void OnAppUpdateAvailable(const Extension
* extension
) = 0;
18 // Invoked when Chrome update is available.
19 virtual void OnChromeUpdateAvailable() = 0;
22 virtual ~UpdateObserver() {}
25 } // namespace extensions
27 #endif // EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_