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

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

Issue 2459583002: Use InstallDetails in setup. (Closed)
Patch Set: another doc comment Created 3 years, 10 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Contains functions for determining the installer's InstallDetails at runtime.
6 // See chrome/install_static/install_details.h for more information.
7
8 #ifndef CHROME_INSTALLER_SETUP_SETUP_INSTALL_DETAILS_H_
9 #define CHROME_INSTALLER_SETUP_SETUP_INSTALL_DETAILS_H_
10
11 #include <memory>
12
13 namespace base {
14 class CommandLine;
15 }
16 namespace install_static {
17 class PrimaryInstallDetails;
18 }
19 namespace installer {
20 class MasterPreferences;
21 }
22
23 // Creates a PrimaryInstallDetails instance for the installer and makes it the
24 // global InstallDetails for the process.
25 void InitializeInstallDetails(
26 const base::CommandLine& command_line,
27 const installer::MasterPreferences& master_preferences);
28
29 // Returns a PrimaryInstallDetails instance for the installer.
30 std::unique_ptr<install_static::PrimaryInstallDetails> MakeInstallDetails(
31 const base::CommandLine& command_line,
32 const installer::MasterPreferences& master_preferences);
33
34 #endif // CHROME_INSTALLER_SETUP_SETUP_INSTALL_DETAILS_H_
OLDNEW
« no previous file with comments | « chrome/installer/setup/run_all_unittests.cc ('k') | chrome/installer/setup/setup_install_details.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698