diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 21:01:30 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-04-27 21:01:30 +0000 |
commit | bea9ba4af4198fcfcd76e5236102fd5e4befb522 (patch) | |
tree | 06ff727140271b653a77108a580bf1b80bf37a09 /chrome/browser/extensions/extension_service.h | |
parent | a73173412c9486209d12a6e4653bfc0785dad747 (diff) | |
download | chromium_src-bea9ba4af4198fcfcd76e5236102fd5e4befb522.zip chromium_src-bea9ba4af4198fcfcd76e5236102fd5e4befb522.tar.gz chromium_src-bea9ba4af4198fcfcd76e5236102fd5e4befb522.tar.bz2 |
Revert 83198 - Remove DestroyingProfile from a few places.These guys are both non-refcounted and have a lifetime that isexactly equivalent to Profile.The DestroyingProfile code dates to a time whenExtensionService was ref-counted.Review URL: http://codereview.chromium.org/6905050
TBR=aa@chromium.org
Review URL: http://codereview.chromium.org/6902085
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@83209 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/extensions/extension_service.h')
-rw-r--r-- | chrome/browser/extensions/extension_service.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h index 6fae172..5898605 100644 --- a/chrome/browser/extensions/extension_service.h +++ b/chrome/browser/extensions/extension_service.h @@ -397,6 +397,10 @@ class ExtensionService Profile* profile(); + // Profile calls this when it is being destroyed so that we know not to call + // it. + void DestroyingProfile(); + // TODO(skerner): Change to const ExtensionPrefs& extension_prefs() const, // ExtensionPrefs* mutable_extension_prefs(). ExtensionPrefs* extension_prefs(); |