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

Side by Side Diff: chrome/installer/setup/app_launcher_installer.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 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 unified diff | Download patch
« no previous file with comments | « chrome/common/importer/importer_bridge.h ('k') | chrome/installer/setup/setup_util.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 // The App Launcher is an adjunct product of Google Chrome, but it has a 5 // The App Launcher is an adjunct product of Google Chrome, but it has a
6 // distinct registry entry. The functions in this file tap into various points 6 // distinct registry entry. The functions in this file tap into various points
7 // in installer flow to update the App Launcher's registry, including the 7 // in installer flow to update the App Launcher's registry, including the
8 // removal of deprecated app commands. This concentrates ugly code to to one 8 // removal of deprecated app commands. This concentrates ugly code to to one
9 // place to facilitate future refactoring. 9 // place to facilitate future refactoring.
10 10
11 #ifndef CHROME_INSTALLER_SETUP_APP_LAUNCHER_INSTALLER_H_ 11 #ifndef CHROME_INSTALLER_SETUP_APP_LAUNCHER_INSTALLER_H_
12 #define CHROME_INSTALLER_SETUP_APP_LAUNCHER_INSTALLER_H_ 12 #define CHROME_INSTALLER_SETUP_APP_LAUNCHER_INSTALLER_H_
13 13
14 #if defined(GOOGLE_CHROME_BUILD) 14 #if defined(GOOGLE_CHROME_BUILD)
15 15
16 #include <windows.h> 16 #include <windows.h>
17 17
18 namespace base { 18 namespace base {
19 class FilePath; 19 class FilePath;
20 class Version;
21 } // namespace base 20 } // namespace base
22 21
23 class WorkItemList; 22 class WorkItemList;
24 23
25 namespace installer { 24 namespace installer {
26 25
27 class InstallerState; 26 class InstallerState;
28 27
29 // Remove App Launcher's registry key, so it is in sync with Google Chrome's. 28 // Remove App Launcher's registry key, so it is in sync with Google Chrome's.
30 // Note: The key is added by App Launcher in SetDidRunForNDayActiveStats(). 29 // Note: The key is added by App Launcher in SetDidRunForNDayActiveStats().
31 void RemoveAppLauncherVersionKey(HKEY reg_root); 30 void RemoveAppLauncherVersionKey(HKEY reg_root);
32 31
33 // Adds work item to unconditionally remove legacy executables. 32 // Adds work item to unconditionally remove legacy executables.
34 void AddRemoveLegacyAppHostExeWorkItems(const base::FilePath& target_path, 33 void AddRemoveLegacyAppHostExeWorkItems(const base::FilePath& target_path,
35 const base::FilePath& temp_path, 34 const base::FilePath& temp_path,
36 WorkItemList* list); 35 WorkItemList* list);
37 36
38 // Adds work item to unconditionally remove legacy app commands like 37 // Adds work item to unconditionally remove legacy app commands like
39 // "install-application", "install-extension", and 38 // "install-application", "install-extension", and
40 // "quick-enable-application-host". 39 // "quick-enable-application-host".
41 void AddRemoveLegacyAppCommandsWorkItems( 40 void AddRemoveLegacyAppCommandsWorkItems(
42 const InstallerState& installer_state, 41 const InstallerState& installer_state,
43 WorkItemList* work_item_list); 42 WorkItemList* work_item_list);
44 43
45 } // namespace installer 44 } // namespace installer
46 45
47 #endif // defined(GOOGLE_CHROME_BUILD) 46 #endif // defined(GOOGLE_CHROME_BUILD)
48 47
49 #endif // CHROME_INSTALLER_SETUP_APP_LAUNCHER_INSTALLER_H_ 48 #endif // CHROME_INSTALLER_SETUP_APP_LAUNCHER_INSTALLER_H_
OLDNEW
« no previous file with comments | « chrome/common/importer/importer_bridge.h ('k') | chrome/installer/setup/setup_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698