summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/install_tracker.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_tracker.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_tracker.h')
-rw-r--r--chrome/browser/extensions/install_tracker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/extensions/install_tracker.h b/chrome/browser/extensions/install_tracker.h
index a15dd53..d82646f 100644
--- a/chrome/browser/extensions/install_tracker.h
+++ b/chrome/browser/extensions/install_tracker.h
@@ -32,6 +32,9 @@ class InstallTracker : public ProfileKeyedService {
int percent_downloaded);
void OnInstallFailure(const std::string& extension_id);
+ // Overriddes for ProfileKeyedService:
+ void Shutdown();
+
private:
ObserverList<InstallObserver> observers_;