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 986dcf1a294e37b16d79f4fdb2691427b8ab3bb7..e66c2755e8200697f62e8519dea3088ce7859006 100644 |
--- a/chrome/browser/web_applications/web_app.h |
+++ b/chrome/browser/web_applications/web_app.h |
@@ -17,6 +17,10 @@ |
class Profile; |
+namespace content { |
+class WebContents; |
+} |
+ |
namespace extensions { |
class Extension; |
} |
@@ -37,6 +41,10 @@ enum ShortcutCreationReason { |
typedef base::Callback<void(const ShellIntegration::ShortcutInfo&)> |
ShortcutInfoCallback; |
+// Extracts shortcut info of the given WebContents. |
+void GetShortcutInfoForTab(content::WebContents* web_contents, |
+ ShellIntegration::ShortcutInfo* info); |
+ |
ShellIntegration::ShortcutInfo ShortcutInfoForExtensionAndProfile( |
const extensions::Extension* app, |
Profile* profile); |