Index: chrome/browser/web_applications/web_app.h |
=================================================================== |
--- chrome/browser/web_applications/web_app.h (revision 86295) |
+++ chrome/browser/web_applications/web_app.h (working copy) |
@@ -30,6 +30,9 @@ |
// Compute a deterministic name based on an extension/apps's id. |
std::string GenerateApplicationNameFromExtensionId(const std::string& id); |
+// Extracts the extension id from the app name. |
jennb
2011/05/24 05:29:14
Somtimes the app_name was not generated from an ex
jianli
2011/05/24 18:20:24
It will not collide with the name generated from a
|
+std::string GetExtensionIdFromApplicationName(const std::string& app_name); |
+ |
// Callback after user dismisses CreateShortcutView. "true" indicates |
// shortcut is created successfully. Otherwise, it is false. |
typedef Callback1<bool>::Type CreateShortcutCallback; |