blob: 68c6e22368ebaadc38cb3043f3bdf77ecc034131 [file] [log] [blame]
[email protected]75bdcb872013-03-13 00:41:451// 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.
4
[email protected]a9aa62b312013-11-29 05:35:065#ifndef EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_
6#define EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_
[email protected]75bdcb872013-03-13 00:41:457
8#include <string>
9
10namespace extensions {
[email protected]a9aa62b312013-11-29 05:35:0611class Extension;
[email protected]75bdcb872013-03-13 00:41:4512
13class UpdateObserver {
14 public:
15 // Invoked when an app update is available.
[email protected]a9aa62b312013-11-29 05:35:0616 virtual void OnAppUpdateAvailable(const Extension* extension) = 0;
[email protected]75bdcb872013-03-13 00:41:4517
18 // Invoked when Chrome update is available.
19 virtual void OnChromeUpdateAvailable() = 0;
20
21 protected:
22 virtual ~UpdateObserver() {}
23};
24
25} // namespace extensions
26
[email protected]a9aa62b312013-11-29 05:35:0627#endif // EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_