| Index: chrome/browser/web_applications/web_app.cc
|
| ===================================================================
|
| --- chrome/browser/web_applications/web_app.cc (revision 86295)
|
| +++ chrome/browser/web_applications/web_app.cc (working copy)
|
| @@ -475,6 +475,13 @@
|
| return t;
|
| }
|
|
|
| +std::string GetExtensionIdFromApplicationName(const std::string& app_name) {
|
| + std::string prefix(kCrxAppPrefix);
|
| + if (app_name.substr(0, prefix.length()) != prefix)
|
| + return std::string();
|
| + return app_name.substr(prefix.length());
|
| +}
|
| +
|
| void CreateShortcut(
|
| const FilePath& data_dir,
|
| const ShellIntegration::ShortcutInfo& shortcut_info,
|
|
|