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 3e3c9b0138d34264bb2ac11f495ca036c6be359e..17eb9f9f924767dc23847cc7a5d93809b548e252 100644 |
--- a/chrome/browser/web_applications/web_app.h |
+++ b/chrome/browser/web_applications/web_app.h |
@@ -11,6 +11,11 @@ |
namespace web_app { |
+// Compute a deterministic name based on the URL. We use this pseudo name |
+// as a key to store window location per application URLs in Browser and |
+// as app id for BrowserWindow, shortcut and jump list. |
+std::wstring GenerateApplicationNameFromURL(const GURL& url); |
+ |
// Callback after user dismisses CreateShortcutView. "true" indicates |
// shortcut is created successfully. Otherwise, it is false. |
typedef Callback1<bool>::Type CreateShortcutCallback; |