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

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: small tweaks Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/shell_integration.h
diff --git a/chrome/browser/shell_integration.h b/chrome/browser/shell_integration.h
index d230c1b421ebb451e639738bb14173829eed24d3..4da3df23435f95d633a0f222fa23ca91cc16c848 100644
--- a/chrome/browser/shell_integration.h
+++ b/chrome/browser/shell_integration.h
@@ -16,6 +16,22 @@
class CommandLine;
+namespace shell_integration {
+
+namespace internals {
+
+// 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.
+int MigrateShortcutsInPath(
grt (UTC plus 2) 2013/01/03 02:30:44 Name this MigrateShortcutsInPathInternal, add to t
gab 2013/01/03 21:14:57 Done.
+ const FilePath& chrome_exe, const FilePath& path, bool check_dual_mode);
+
+} // namespace internals
+
+} // namespace shell_integration
+
class ShellIntegration {
public:
// Sets Chrome as the default browser (only for the current user). Returns
« no previous file with comments | « no previous file | chrome/browser/shell_integration_unittest.cc » ('j') | chrome/browser/shell_integration_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698