| Index: chrome/browser/extensions/api/developer_private/extension_info_generator.h
|
| diff --git a/chrome/browser/extensions/api/developer_private/extension_info_generator.h b/chrome/browser/extensions/api/developer_private/extension_info_generator.h
|
| index 9b50bfb3a55561a311052c543e46280bf5c7a336..736acce7c22ea6789a08178d1d3b75e8e9949c03 100644
|
| --- a/chrome/browser/extensions/api/developer_private/extension_info_generator.h
|
| +++ b/chrome/browser/extensions/api/developer_private/extension_info_generator.h
|
| @@ -27,12 +27,16 @@ class ExtensionInfoGenerator {
|
| explicit ExtensionInfoGenerator(content::BrowserContext* context);
|
| ~ExtensionInfoGenerator();
|
|
|
| - // Return the ExtensionInfo for a given |extension| and |state|.
|
| + // Returns the ExtensionInfo for a given |extension| and |state|.
|
| scoped_ptr<api::developer_private::ExtensionInfo> CreateExtensionInfo(
|
| const Extension& extension,
|
| api::developer_private::ExtensionState state);
|
| + // Returns an ExtensionInfo for the given |extension_id|, if the extension
|
| + // can be found.
|
| + scoped_ptr<api::developer_private::ExtensionInfo> CreateExtensionInfo(
|
| + const std::string& id);
|
|
|
| - // Return a collection of ExtensionInfos, optionally including disabled and
|
| + // Returns a collection of ExtensionInfos, optionally including disabled and
|
| // terminated.
|
| ExtensionInfoList CreateExtensionsInfo(bool include_disabled,
|
| bool include_terminated);
|
|
|