OLD | NEW |
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 // This file contains the specification of setup main functions. | 5 // This file contains the specification of setup main functions. |
6 | 6 |
7 #ifndef CHROME_INSTALLER_SETUP_INSTALL_H_ | 7 #ifndef CHROME_INSTALLER_SETUP_INSTALL_H_ |
8 #define CHROME_INSTALLER_SETUP_INSTALL_H_ | 8 #define CHROME_INSTALLER_SETUP_INSTALL_H_ |
9 | 9 |
10 #include <vector> | 10 #include <vector> |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 // login for each user post system-level Chrome install). | 125 // login for each user post system-level Chrome install). |
126 // |installation_root|: The root of this install (i.e. the directory in which | 126 // |installation_root|: The root of this install (i.e. the directory in which |
127 // chrome.exe is installed). | 127 // chrome.exe is installed). |
128 // Shortcut creation is skipped if the First Run beacon is present (unless | 128 // Shortcut creation is skipped if the First Run beacon is present (unless |
129 // |force| is set to true). | 129 // |force| is set to true). |
130 // |chrome| The installed product (must be a browser). | 130 // |chrome| The installed product (must be a browser). |
131 void HandleActiveSetupForBrowser(const base::FilePath& installation_root, | 131 void HandleActiveSetupForBrowser(const base::FilePath& installation_root, |
132 const Product& chrome, | 132 const Product& chrome, |
133 bool force); | 133 bool force); |
134 | 134 |
135 // Launches app_host.exe to install content from web store (non-blocking). | |
136 // Returns true on successful execution (although successful installation | |
137 // is not guaranteed). | |
138 bool InstallFromWebstore(const std::string& app_code); | |
139 | |
140 } // namespace installer | 135 } // namespace installer |
141 | 136 |
142 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ | 137 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ |
OLD | NEW |