| Index: chrome/browser/extensions/extension_service.h
|
| diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
|
| index b31157b118041e83cd102565694ca8974f8eff89..e0e17e78b10feb6d5816067ee82798e83c7116c5 100644
|
| --- a/chrome/browser/extensions/extension_service.h
|
| +++ b/chrome/browser/extensions/extension_service.h
|
| @@ -258,6 +258,9 @@ class ExtensionService
|
| // Reloads the specified extension, sending the onLaunched() event to it if it
|
| // currently has any window showing.
|
| // Allows noisy failures.
|
| + // NOTE: Reloading an extension can invalidate |extension_id| and Extension
|
| + // pointers for the given extension. Consider making a copy of |extension_id|
|
| + // first and retrieving a new Extension pointer afterwards.
|
| void ReloadExtension(const std::string& extension_id);
|
|
|
| // Suppresses noisy failures.
|
|
|