summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/install_observer.h
diff options
context:
space:
mode:
authorkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-28 00:41:51 +0000
committerkoz@chromium.org <koz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-28 00:41:51 +0000
commit466cb92c1cfa1e78613ed8ca3bac381fcf227280 (patch)
tree5e76b57d8dd7b0ab6f35ffeafa1d369d83915f53 /chrome/browser/extensions/install_observer.h
parent07a0cc3cd3ebb314f81c18e3c64ae1f270fd6415 (diff)
downloadchromium_src-466cb92c1cfa1e78613ed8ca3bac381fcf227280.zip
chromium_src-466cb92c1cfa1e78613ed8ca3bac381fcf227280.tar.gz
chromium_src-466cb92c1cfa1e78613ed8ca3bac381fcf227280.tar.bz2
Don't re-get InstallTracker in AppsModelBuilder.
Currently the destructor for AppsModelBuilder tries to reacquire InstallTracker via its factory, but at that point the service has been Shutdown(). Review URL: https://codereview.chromium.org/12377002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@185086 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/install_observer.h')
-rw-r--r--chrome/browser/extensions/install_observer.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/install_observer.h b/chrome/browser/extensions/install_observer.h
index c221be0..d222062 100644
--- a/chrome/browser/extensions/install_observer.h
+++ b/chrome/browser/extensions/install_observer.h
@@ -24,6 +24,9 @@ class InstallObserver {
virtual void OnInstallFailure(const std::string& extension_id) = 0;
+ // Notifies observers that the observed object is going away.
+ virtual void OnShutdown() = 0;
+
protected:
virtual ~InstallObserver() {}
};