OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/web_applications/web_app.h" | 5 #include "chrome/browser/web_applications/web_app.h" |
6 | 6 |
7 namespace web_app { | 7 namespace web_app { |
8 namespace internals { | 8 namespace internals { |
9 | 9 |
10 bool CreatePlatformShortcuts( | 10 bool CreatePlatformShortcuts( |
11 const base::FilePath& web_app_path, | 11 const base::FilePath& web_app_path, |
12 const ShortcutInfo& shortcut_info, | 12 const ShortcutInfo& shortcut_info, |
13 const extensions::FileHandlersInfo& file_handlers_info, | 13 const extensions::FileHandlersInfo& file_handlers_info, |
14 const ShortcutLocations& creation_locations, | 14 const ShortcutLocations& creation_locations, |
15 ShortcutCreationReason creation_reason) { | 15 ShortcutCreationReason creation_reason) { |
16 return true; | 16 return true; |
17 } | 17 } |
18 | 18 |
19 void DeletePlatformShortcuts(const base::FilePath& web_app_path, | 19 void DeletePlatformShortcuts(const base::FilePath& web_app_path, |
20 const ShortcutInfo& shortcut_info) {} | 20 const ShortcutInfo& shortcut_info) {} |
21 | 21 |
22 void UpdatePlatformShortcuts( | 22 void UpdatePlatformShortcuts( |
23 const base::FilePath& web_app_path, | 23 const base::FilePath& web_app_path, |
24 const base::string16& old_app_title, | 24 const base::string16& old_app_title, |
25 const ShortcutInfo& shortcut_info, | 25 const ShortcutInfo& shortcut_info, |
26 const extensions::FileHandlersInfo& file_handlers_info) {} | 26 const extensions::FileHandlersInfo& file_handlers_info) {} |
27 | 27 |
28 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) {} | 28 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) {} |
29 | 29 |
| 30 void UpdateShortcutsForAllAppsForProfile( |
| 31 const base::FilePath& profile_path, |
| 32 const std::set<std::string>& app_ids) {} |
| 33 |
30 } // namespace internals | 34 } // namespace internals |
31 } // namespace web_app | 35 } // namespace web_app |
OLD | NEW |