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

Side by Side Diff: chrome/installer/launcher_support/chrome_launcher_support.h

Issue 14031025: Implementing unified Chrome / App Launcher flow, and migrating old stand-alone App Launcher. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 8 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
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 #ifndef CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_ 5 #ifndef CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_
6 #define CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_ 6 #define CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_
7 7
8 namespace base { 8 namespace base {
9 class FilePath; 9 class FilePath;
10 class Version;
10 } 11 }
11 12
12 namespace chrome_launcher_support { 13 namespace chrome_launcher_support {
13 14
14 enum InstallationLevel { 15 enum InstallationLevel {
15 USER_LEVEL_INSTALLATION, 16 USER_LEVEL_INSTALLATION,
16 SYSTEM_LEVEL_INSTALLATION, 17 SYSTEM_LEVEL_INSTALLATION,
17 }; 18 };
18 19
19 enum InstallationState { 20 enum InstallationState {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 InstallationState GetAppLauncherInstallationState(); 62 InstallationState GetAppLauncherInstallationState();
62 63
63 // Returns true if App Launcher is installed (system-level or user-level). 64 // Returns true if App Launcher is installed (system-level or user-level).
64 bool IsAppLauncherPresent(); 65 bool IsAppLauncherPresent();
65 66
66 // Returns true if the Chrome browser is installed (system-level or user-level). 67 // Returns true if the Chrome browser is installed (system-level or user-level).
67 // If this is running in an official build, it will check if a non-canary build 68 // If this is running in an official build, it will check if a non-canary build
68 // if installed. If it is not an official build, it will always return true. 69 // if installed. If it is not an official build, it will always return true.
69 bool IsChromeBrowserPresent(); 70 bool IsChromeBrowserPresent();
70 71
72 // Returns true if a given |version| of App Launcher uses legacy app_host.exe.
73 bool HasLegacyAppHostExe(const base::Version& version);
74
71 } // namespace chrome_launcher_support 75 } // namespace chrome_launcher_support
72 76
73 #endif // CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_ 77 #endif // CHROME_INSTALLER_LAUNCHER_SUPPORT_CHROME_LAUNCHER_SUPPORT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/installer/launcher_support/chrome_launcher_support.cc » ('j') | chrome/installer/setup/install.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698