Index: chrome/browser/chrome_browser_main_win.h |
diff --git a/chrome/browser/chrome_browser_main_win.h b/chrome/browser/chrome_browser_main_win.h |
index c866211d259648c5f6b3ab80ec0df1a5b5afc61c..f54f557ca5831c0064096edd69cd20818ba22482 100644 |
--- a/chrome/browser/chrome_browser_main_win.h |
+++ b/chrome/browser/chrome_browser_main_win.h |
@@ -17,33 +17,39 @@ class CommandLine; |
// user to close the other chrome instance. |
int DoUninstallTasks(bool chrome_still_running); |
-// Prepares the localized strings that are going to be displayed to |
-// the user if the browser process dies. These strings are stored in the |
-// environment block so they are accessible in the early stages of the |
-// chrome executable's lifetime. |
-void PrepareRestartOnCrashEnviroment(const CommandLine& parsed_command_line); |
- |
-// Registers Chrome with the Windows Restart Manager, which will restore the |
-// Chrome session when the computer is restarted after a system update. |
-void RegisterApplicationRestart(const CommandLine& parsed_command_line); |
- |
-// This method handles the --hide-icons and --show-icons command line options |
-// for chrome that get triggered by Windows from registry entries |
-// HideIconsCommand & ShowIconsCommand. Chrome doesn't support hide icons |
-// functionality so we just ask the users if they want to uninstall Chrome. |
-int HandleIconsCommands(const CommandLine& parsed_command_line); |
- |
-// Check if there is any machine level Chrome installed on the current |
-// machine. If yes and the current Chrome process is user level, we do not |
-// allow the user level Chrome to run. So we notify the user and uninstall |
-// user level Chrome. |
-bool CheckMachineLevelInstall(); |
- |
class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts { |
public: |
explicit ChromeBrowserMainPartsWin(const MainFunctionParams& parameters); |
+ // BrowserParts overrides. |
virtual void PreMainMessageLoopStart() OVERRIDE; |
+ |
+ // ChromeBrowserMainParts overrides. |
+ virtual void ShowMissingLocaleMessageBox() OVERRIDE; |
+ |
+ // Prepares the localized strings that are going to be displayed to |
+ // the user if the browser process dies. These strings are stored in the |
+ // environment block so they are accessible in the early stages of the |
+ // chrome executable's lifetime. |
+ static void PrepareRestartOnCrashEnviroment( |
+ const CommandLine& parsed_command_line); |
+ |
+ // Registers Chrome with the Windows Restart Manager, which will restore the |
+ // Chrome session when the computer is restarted after a system update. |
+ static void RegisterApplicationRestart( |
+ const CommandLine& parsed_command_line); |
+ |
+ // This method handles the --hide-icons and --show-icons command line options |
+ // for chrome that get triggered by Windows from registry entries |
+ // HideIconsCommand & ShowIconsCommand. Chrome doesn't support hide icons |
+ // functionality so we just ask the users if they want to uninstall Chrome. |
+ static int HandleIconsCommands(const CommandLine& parsed_command_line); |
+ |
+ // Check if there is any machine level Chrome installed on the current |
+ // machine. If yes and the current Chrome process is user level, we do not |
+ // allow the user level Chrome to run. So we notify the user and uninstall |
+ // user level Chrome. |
+ static bool CheckMachineLevelInstall(); |
}; |
#endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ |