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

Unified Diff: chrome/installer/util/google_chrome_distribution.cc

Issue 57173002: Adds the concept of a 'safe mode' hotkey start (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 1 month 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/installer/util/google_chrome_distribution.cc
===================================================================
--- chrome/installer/util/google_chrome_distribution.cc (revision 232633)
+++ chrome/installer/util/google_chrome_distribution.cc (working copy)
@@ -280,6 +280,11 @@
return true;
}
+int GoogleChromeDistribution::GetSafeModeHotkey() {
+ // Safe mode shortcut is Ctrl+Shift+F10.
+ return MAKEWORD(VK_F10, HOTKEYF_CONTROL | HOTKEYF_SHIFT);
+}
+
// This method checks if we need to change "ap" key in Google Update to try
// full installer as fall back method in case incremental installer fails.
// - If incremental installer fails we append a magic string ("-full"), if

Powered by Google App Engine
This is Rietveld 408576698