Chromium Code Reviews| Index: chrome/browser/web_applications/web_app_mac.h |
| diff --git a/chrome/browser/web_applications/web_app_mac.h b/chrome/browser/web_applications/web_app_mac.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f9142b507ce8e94a3ff0accd62838c835c6b5cd2 |
| --- /dev/null |
| +++ b/chrome/browser/web_applications/web_app_mac.h |
| @@ -0,0 +1,33 @@ |
| +// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_ |
| +#define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_ |
| +#pragma once |
| + |
| +#include "chrome/browser/shell_integration.h" |
| + |
| +namespace web_app { |
| + |
| +class WebAppShortcutCreator { |
|
Robert Sesek
2012/02/08 01:01:28
Comment++++++
sail
2012/02/09 23:04:39
Done.
|
| + public: |
| + explicit WebAppShortcutCreator( |
| + const ShellIntegration::ShortcutInfo& shortcut_info); |
| + virtual ~WebAppShortcutCreator(); |
| + |
| + bool CreateShortcut(); |
| + |
| + protected: |
| + FilePath GetAppLoaderPath() const; |
| + virtual FilePath GetDstPath(const FilePath& app_file_name) const; |
| + bool UpdatePlist(const FilePath& app_path) const; |
| + bool UpdateIcon(const FilePath& app_path) const; |
| + |
| + private: |
| + ShellIntegration::ShortcutInfo info_; |
| +}; |
| + |
| +} // namespace web_app |
| + |
| +#endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_ |