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

Side by Side Diff: chrome/browser/chrome_browser_main_win.h

Issue 10919173: Rename Windows SystemMonitor implementation files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix win unit test Created 8 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 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 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "chrome/browser/chrome_browser_main.h" 11 #include "chrome/browser/chrome_browser_main.h"
12 12
13 class CommandLine; 13 class CommandLine;
14 14
15 namespace chrome { 15 namespace chrome {
16 class MediaDeviceNotificationsWindowWin; 16 class RemovableDeviceNotificationsWindowWin;
17 } // namespace chrome 17 } // namespace chrome
18 18
19 19
20 // Handle uninstallation when given the appropriate the command-line switch. 20 // Handle uninstallation when given the appropriate the command-line switch.
21 // If |chrome_still_running| is true a modal dialog will be shown asking the 21 // If |chrome_still_running| is true a modal dialog will be shown asking the
22 // user to close the other chrome instance. 22 // user to close the other chrome instance.
23 int DoUninstallTasks(bool chrome_still_running); 23 int DoUninstallTasks(bool chrome_still_running);
24 24
25 class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts { 25 class ChromeBrowserMainPartsWin : public ChromeBrowserMainParts {
26 public: 26 public:
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // machine. If yes and the current Chrome process is user level, we do not 58 // machine. If yes and the current Chrome process is user level, we do not
59 // allow the user level Chrome to run. So we notify the user and uninstall 59 // allow the user level Chrome to run. So we notify the user and uninstall
60 // user level Chrome. 60 // user level Chrome.
61 static bool CheckMachineLevelInstall(); 61 static bool CheckMachineLevelInstall();
62 62
63 // Sets the TranslationDelegate which provides localized strings to 63 // Sets the TranslationDelegate which provides localized strings to
64 // installer_util. 64 // installer_util.
65 static void SetupInstallerUtilStrings(); 65 static void SetupInstallerUtilStrings();
66 66
67 private: 67 private:
68 scoped_refptr<chrome::MediaDeviceNotificationsWindowWin> 68 scoped_refptr<chrome::RemovableDeviceNotificationsWindowWin>
69 media_device_notifications_window_; 69 removable_device_notifications_window_;
70 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin); 70 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsWin);
71 }; 71 };
72 72
73 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_ 73 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698