| OLD | NEW | 
|---|
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 // Contains functions used by BrowserMain() that are win32-specific. | 5 // Contains functions used by BrowserMain() that are win32-specific. | 
| 6 | 6 | 
| 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 
| 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 
| 9 #pragma once | 9 #pragma once | 
| 10 | 10 | 
| 11 #include "chrome/browser/chrome_browser_main.h" | 11 #include "chrome/browser/chrome_browser_main.h" | 
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 45   // for chrome that get triggered by Windows from registry entries | 45   // for chrome that get triggered by Windows from registry entries | 
| 46   // HideIconsCommand & ShowIconsCommand. Chrome doesn't support hide icons | 46   // HideIconsCommand & ShowIconsCommand. Chrome doesn't support hide icons | 
| 47   // functionality so we just ask the users if they want to uninstall Chrome. | 47   // functionality so we just ask the users if they want to uninstall Chrome. | 
| 48   static int HandleIconsCommands(const CommandLine& parsed_command_line); | 48   static int HandleIconsCommands(const CommandLine& parsed_command_line); | 
| 49 | 49 | 
| 50   // Check if there is any machine level Chrome installed on the current | 50   // Check if there is any machine level Chrome installed on the current | 
| 51   // machine. If yes and the current Chrome process is user level, we do not | 51   // machine. If yes and the current Chrome process is user level, we do not | 
| 52   // allow the user level Chrome to run. So we notify the user and uninstall | 52   // allow the user level Chrome to run. So we notify the user and uninstall | 
| 53   // user level Chrome. | 53   // user level Chrome. | 
| 54   static bool CheckMachineLevelInstall(); | 54   static bool CheckMachineLevelInstall(); | 
|  | 55 | 
|  | 56  private: | 
|  | 57   DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); | 
| 55 }; | 58 }; | 
| 56 | 59 | 
| 57 #endif  // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 60 #endif  // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ | 
| OLD | NEW | 
|---|