Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(525)

Side by Side Diff: chrome/browser/web_applications/web_app_mac.h

Issue 9362001: Unit tests for publishing app shortcuts on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove IsWritable Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2012 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_MAC_H_
6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_
7 #pragma once
8
9 #include "chrome/browser/shell_integration.h"
10
11 namespace web_app {
12
13 class WebAppShortcutCreator {
Robert Sesek 2012/02/08 01:01:28 Comment++++++
sail 2012/02/09 23:04:39 Done.
14 public:
15 explicit WebAppShortcutCreator(
16 const ShellIntegration::ShortcutInfo& shortcut_info);
17 virtual ~WebAppShortcutCreator();
18
19 bool CreateShortcut();
20
21 protected:
22 FilePath GetAppLoaderPath() const;
23 virtual FilePath GetDstPath(const FilePath& app_file_name) const;
24 bool UpdatePlist(const FilePath& app_path) const;
25 bool UpdateIcon(const FilePath& app_path) const;
26
27 private:
28 ShellIntegration::ShortcutInfo info_;
29 };
30
31 } // namespace web_app
32
33 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_MAC_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/web_applications/web_app_mac.mm » ('j') | chrome/browser/web_applications/web_app_mac_unittest.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698