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

Unified Diff: base/file_util.h

Issue 10837034: Remove packaged app Windows shortcuts when app is uninstalled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tidy up; linux and mac Created 8 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/file_util_win.cc » ('j') | base/file_util_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/file_util.h
diff --git a/base/file_util.h b/base/file_util.h
index fb6f6244a06cef12eb10af0d71d8ad000d000ab4..4c95da5a353f55015d47085b330bd50b26d7d5bd 100644
--- a/base/file_util.h
+++ b/base/file_util.h
@@ -240,6 +240,11 @@ enum ShortcutOptions {
// false leaving the path as it is.
BASE_EXPORT bool ResolveShortcut(FilePath* path);
+// Read the program arguments from the shortcut in |shortcut_path|. The result
+// of the operation is stored in |args|, which must not be NULL.
+BASE_EXPORT bool GetShortcutArguments(const FilePath& shortcut_path,
+ string16* args);
+
// Creates (or updates) a Windows shortcut (.LNK file)
// This method creates (or updates) a shortcut link using the information given.
// Ensure you have initialized COM before calling into this function.
« no previous file with comments | « no previous file | base/file_util_win.cc » ('j') | base/file_util_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698