Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / chrome / browser / web_applications / web_app_win.h
blob7e87c29b86f1798862283f2060e3f1edab1bb1fa
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.
5 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_
6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_
8 #include "base/files/file_path.h"
9 #include "chrome/browser/web_applications/web_app.h"
11 namespace content {
12 class WebContents;
15 namespace gfx {
16 class ImageFamily;
19 namespace web_app {
21 // Create a shortcut in the given web app data dir, returning the name of the
22 // created shortcut.
23 base::FilePath CreateShortcutInWebAppDir(
24 const base::FilePath& web_app_path,
25 const web_app::ShortcutInfo& shortcut_info);
27 namespace internals {
29 bool CheckAndSaveIcon(const base::FilePath& icon_file,
30 const gfx::ImageFamily& image);
32 base::FilePath GetIconFilePath(const base::FilePath& web_app_path,
33 const base::string16& title);
35 } // namespace internals
37 } // namespace web_app
39 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_WIN_H_