diff options
author | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-29 05:35:06 +0000 |
---|---|---|
committer | benwells@chromium.org <benwells@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-29 05:35:06 +0000 |
commit | a9aa62b31b16032f89f9db8bddd5ab059ec64e66 (patch) | |
tree | c4d803ae50555de517c4ac560f59f2116f0a55c6 /extensions/browser/update_observer.h | |
parent | 18840e32a397694c34eec3819d46a858b794accc (diff) | |
download | chromium_src-a9aa62b31b16032f89f9db8bddd5ab059ec64e66.zip chromium_src-a9aa62b31b16032f89f9db8bddd5ab059ec64e66.tar.gz chromium_src-a9aa62b31b16032f89f9db8bddd5ab059ec64e66.tar.bz2 |
Remove dependency of ExtensionService on runtime API.
TBR=derat
BUG=298537
Review URL: https://codereview.chromium.org/93473002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@237880 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'extensions/browser/update_observer.h')
-rw-r--r-- | extensions/browser/update_observer.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extensions/browser/update_observer.h b/extensions/browser/update_observer.h new file mode 100644 index 0000000..68c6e22 --- /dev/null +++ b/extensions/browser/update_observer.h @@ -0,0 +1,27 @@ +// Copyright 2013 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#ifndef EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_ +#define EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_ + +#include <string> + +namespace extensions { +class Extension; + +class UpdateObserver { + public: + // Invoked when an app update is available. + virtual void OnAppUpdateAvailable(const Extension* extension) = 0; + + // Invoked when Chrome update is available. + virtual void OnChromeUpdateAvailable() = 0; + + protected: + virtual ~UpdateObserver() {} +}; + +} // namespace extensions + +#endif // EXTENSIONS_BROWSER_UPDATE_OBSERVER_H_ |