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

Unified Diff: chrome/browser/shell_integration.h

Issue 11712003: [Fixit-Dec-2012] Also add dual_mode to Start Menu shortcuts in MigrateChromiumShortcuts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add space to test shortcut paths Created 7 years, 12 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 | chrome/browser/shell_integration_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/shell_integration.h
diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h
index d230c1b421ebb451e639738bb14173829eed24d3..c9a852699fe9bbd0b1c3948a9d2bc54bf419a8cc 100644
--- a/chrome/browser/shell_integration.h
+++ b/chrome/browser/shell_integration.h
@@ -156,6 +156,16 @@ class ShellIntegration {
// see http://crbug.com/28104
static void MigrateChromiumShortcuts();
+ // Migrates all shortcuts in |path| which point to |chrome_exe| such that they
+ // have the appropriate AppUserModelId. Also makes sure those shortcuts have
+ // the dual_mode property set if such is requested by |check_dual_mode|.
+ // Returns the number of shortcuts migrated.
+ // This method should not be called prior to Windows 7.
+ // This method is only public for the sake of tests and shouldn't be called
+ // externally otherwise.
+ static int MigrateShortcutsInPathInternal(
brettw 2013/01/04 21:04:08 I'd align all these after the ( on different lines
gab 2013/01/04 21:23:09 Done.
+ const FilePath& chrome_exe, const FilePath& path, bool check_dual_mode);
+
// Returns the path to the Start Menu shortcut for the given Chrome.
static FilePath GetStartMenuShortcut(const FilePath& chrome_exe);
#endif // defined(OS_WIN)
« no previous file with comments | « no previous file | chrome/browser/shell_integration_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698