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 CHROME_BROWSER_EXTENSIONS_UPDATE_OBSERVER_H_
6 #define CHROME_BROWSER_EXTENSIONS_UPDATE_OBSERVER_H_
10 namespace extensions
{
12 class UpdateObserver
{
14 // Invoked when an app update is available.
15 virtual void OnAppUpdateAvailable(const std::string
& app_id
) = 0;
17 // Invoked when Chrome update is available.
18 virtual void OnChromeUpdateAvailable() = 0;
21 virtual ~UpdateObserver() {}
24 } // namespace extensions
26 #endif // CHROME_BROWSER_EXTENSIONS_UPDATE_OBSERVER_H_