| Index: chrome/browser/web_applications/web_app.h
|
| diff --git a/chrome/browser/web_applications/web_app.h b/chrome/browser/web_applications/web_app.h
|
| index 29e730a017be5f5bcf83590397c4bb87bd4d319c..8cdcd9a18472aebbdbfc202412c87af88fcc3dde 100644
|
| --- a/chrome/browser/web_applications/web_app.h
|
| +++ b/chrome/browser/web_applications/web_app.h
|
| @@ -99,6 +99,11 @@ enum ShortcutCreationReason {
|
| SHORTCUT_CREATION_AUTOMATED,
|
| };
|
|
|
| +// Called by GetInfoForApp after fetching the ShortcutInfo and FileHandlersInfo.
|
| +typedef base::Callback<void(const ShortcutInfo&,
|
| + const extensions::FileHandlersInfo&)> InfoCallback;
|
| +
|
| +// Called by UpdateShortcutInfoAndIconForApp after loading the icon.
|
| typedef base::Callback<void(const ShortcutInfo&)> ShortcutInfoCallback;
|
|
|
| // Extracts shortcut info of the given WebContents.
|
| @@ -200,6 +205,11 @@ std::string GetWMClassFromAppName(std::string app_name);
|
|
|
| namespace internals {
|
|
|
| +// Loads relevant info structs for the app and calls |callback|.
|
| +void GetInfoForApp(const extensions::Extension* extension,
|
| + Profile* profile,
|
| + const InfoCallback& callback);
|
| +
|
| #if defined(OS_WIN)
|
| // Returns the Windows user-level shortcut paths that are specified in
|
| // |creation_locations|.
|
|
|