| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 | 8 |
| 9 void UpdateShortcutsForAllApps(Profile* profile, | 9 void UpdateShortcutsForAllApps(Profile* profile, |
| 10 const base::Closure& callback) { | 10 const base::Closure& callback) { |
| 11 callback.Run(); | 11 callback.Run(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace internals { | 14 namespace internals { |
| 15 | 15 |
| 16 bool CreatePlatformShortcuts( | 16 bool CreatePlatformShortcuts( |
| 17 const base::FilePath& web_app_path, | 17 const base::FilePath& web_app_path, |
| 18 scoped_ptr<ShortcutInfo> shortcut_info, | 18 scoped_ptr<ShortcutInfo> shortcut_info, |
| 19 const extensions::FileHandlersInfo& file_handlers_info, | 19 const extensions::FileHandlersInfo& file_handlers_info, |
| 20 const ShortcutLocations& creation_locations, | 20 const ShortcutLocations& creation_locations, |
| 21 ShortcutCreationReason creation_reason) { | 21 ShortcutCreationReason /*creation_reason*/) { |
| 22 return true; | 22 NOTIMPLEMENTED(); |
| 23 return false; |
| 23 } | 24 } |
| 24 | 25 |
| 25 void DeletePlatformShortcuts(const base::FilePath& web_app_path, | 26 void DeletePlatformShortcuts(const base::FilePath& web_app_path, |
| 26 scoped_ptr<ShortcutInfo> shortcut_info) {} | 27 scoped_ptr<ShortcutInfo> shortcut_info) { |
| 28 NOTIMPLEMENTED(); |
| 29 } |
| 27 | 30 |
| 28 void UpdatePlatformShortcuts( | 31 void UpdatePlatformShortcuts( |
| 29 const base::FilePath& web_app_path, | 32 const base::FilePath& web_app_path, |
| 30 const base::string16& old_app_title, | 33 const base::string16& /*old_app_title*/, |
| 31 scoped_ptr<ShortcutInfo> shortcut_info, | 34 scoped_ptr<ShortcutInfo> shortcut_info, |
| 32 const extensions::FileHandlersInfo& file_handlers_info) {} | 35 const extensions::FileHandlersInfo& file_handlers_info) { |
| 36 NOTIMPLEMENTED(); |
| 37 } |
| 33 | 38 |
| 34 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) {} | 39 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path) { |
| 40 NOTIMPLEMENTED(); |
| 41 } |
| 35 | 42 |
| 36 } // namespace internals | 43 } // namespace internals |
| 44 |
| 37 } // namespace web_app | 45 } // namespace web_app |
| OLD | NEW |