Chromium Code Reviews| 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 16175fc0f43a8460798b961be16526661a2bee2c..c295ce020608d12c70990c8ad448c5ad9f2d2772 100644 |
| --- a/chrome/browser/web_applications/web_app.h |
| +++ b/chrome/browser/web_applications/web_app.h |
| @@ -67,13 +67,22 @@ std::string GetWMClassFromAppName(std::string app_name); |
| namespace internals { |
| #if defined(OS_WIN) |
| -FilePath GetSanitizedFileName(const string16& name); |
| - |
| bool CheckAndSaveIcon(const FilePath& icon_file, const SkBitmap& image); |
| #endif |
| FilePath GetWebAppDataDirectory(const FilePath& root_dir, |
| const ShellIntegration::ShortcutInfo& info); |
| + |
| +// Does the actual job of creating a shortcut (see CreateShortcut() above). |
| +// This must be called on the file thread. |
| +void CreateShortcutTask(const FilePath& web_app_path, |
| + const FilePath& profile_path, |
| + const ShellIntegration::ShortcutInfo& shortcut_info); |
| + |
| +// Sanitizes |name| and returns a version of it that is safe to use as an |
| +// on-disk file name . |
|
Robert Sesek
2012/02/09 02:03:32
nit: extra space before .
|
| +FilePath GetSanitizedFileName(const string16& name); |
| + |
| } // namespace internals |
| } // namespace web_app |