| Index: chrome/browser/extensions/extension_service.h
|
| diff --git a/chrome/browser/extensions/extension_service.h b/chrome/browser/extensions/extension_service.h
|
| index c6ad18c8495541274d25e7595e068fc1f02d82fe..c239bebeb08f4466ac7a0bfde7697bc33df6b31b 100644
|
| --- a/chrome/browser/extensions/extension_service.h
|
| +++ b/chrome/browser/extensions/extension_service.h
|
| @@ -262,6 +262,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.
|
|
|