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 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ | 5 #ifndef CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ |
6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ | 6 #define CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
249 void UpdatePlatformShortcuts( | 249 void UpdatePlatformShortcuts( |
250 const base::FilePath& shortcut_data_path, | 250 const base::FilePath& shortcut_data_path, |
251 const base::string16& old_app_title, | 251 const base::string16& old_app_title, |
252 const ShortcutInfo& shortcut_info, | 252 const ShortcutInfo& shortcut_info, |
253 const extensions::FileHandlersInfo& file_handlers_info); | 253 const extensions::FileHandlersInfo& file_handlers_info); |
254 | 254 |
255 // Delete all the shortcuts for an entire profile. | 255 // Delete all the shortcuts for an entire profile. |
256 // This is executed on the FILE thread. | 256 // This is executed on the FILE thread. |
257 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path); | 257 void DeleteAllShortcutsForProfile(const base::FilePath& profile_path); |
258 | 258 |
259 // Reveals app shim in finder given a profile and app. | |
260 // This is executed on the FILE thread. | |
261 void RevealAppShimInFinderForApp(Profile* profile, | |
jackhou1
2014/12/03 05:12:05
This should go in web_app_mac.h since it's specifi
mitchellj
2014/12/04 04:53:53
Done.
| |
262 const base::FilePath& app_data_path); | |
263 | |
259 // Sanitizes |name| and returns a version of it that is safe to use as an | 264 // Sanitizes |name| and returns a version of it that is safe to use as an |
260 // on-disk file name . | 265 // on-disk file name . |
261 base::FilePath GetSanitizedFileName(const base::string16& name); | 266 base::FilePath GetSanitizedFileName(const base::string16& name); |
262 | 267 |
263 } // namespace internals | 268 } // namespace internals |
264 | 269 |
265 } // namespace web_app | 270 } // namespace web_app |
266 | 271 |
267 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ | 272 #endif // CHROME_BROWSER_WEB_APPLICATIONS_WEB_APP_H_ |
OLD | NEW |