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

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

Issue 777543002: Create hosted app shims on Mac. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698