web_app_win.h revision eb525c5499e34cc9c4b825d6d9e75bb07cc06ace
1// Copyright 2013 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_ 6#define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_ 7 8#include "base/files/file_path.h" 9#include "chrome/browser/shell_integration.h" 10 11namespace gfx { 12class ImageFamily; 13} 14 15namespace web_app { 16 17// Create a shortcut in the given web app data dir, returning the name of the 18// created shortcut. 19base::FilePath CreateShortcutInWebAppDir( 20 const base::FilePath& web_app_path, 21 const ShellIntegration::ShortcutInfo& shortcut_info); 22 23namespace internals { 24 25bool CheckAndSaveIcon(const base::FilePath& icon_file, 26 const gfx::ImageFamily& image); 27 28} // namespace internals 29 30} // namespace web_app 31 32#endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_ 33