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

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

Issue 10160011: Create VisualElementsManifest.xml from template -- install VisualElements in the version directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: untested tests... Created 8 years, 7 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 9 #pragma once
10 10
11 #include <string> 11 #include <string>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/version.h" 14 #include "base/version.h"
15 #include "chrome/installer/util/product.h" 15 #include "chrome/installer/util/product.h"
16 #include "chrome/installer/util/util_constants.h" 16 #include "chrome/installer/util/util_constants.h"
17 17
18 class FilePath; 18 class FilePath;
19 19
20 namespace installer { 20 namespace installer {
21 21
22 class InstallationState; 22 class InstallationState;
23 class InstallerState; 23 class InstallerState;
24 class MasterPreferences; 24 class MasterPreferences;
25 25
26 // Creates VisualElementsManifest.xml beside chrome.exe in |src_path| if
27 // |src_path|\VisualElements exists.
28 // Returns true unless the manifest is supposed to be created, but fails to be.
29 bool CreateVisualElementsManifest(const FilePath& src_path,
30 const Version& version);
31
26 // This function installs or updates a new version of Chrome. It returns 32 // This function installs or updates a new version of Chrome. It returns
27 // install status (failed, new_install, updated etc). 33 // install status (failed, new_install, updated etc).
28 // 34 //
29 // setup_path: Path to the executable (setup.exe) as it will be copied 35 // setup_path: Path to the executable (setup.exe) as it will be copied
30 // to Chrome install folder after install is complete 36 // to Chrome install folder after install is complete
31 // archive_path: Path to the archive (chrome.7z) as it will be copied 37 // archive_path: Path to the archive (chrome.7z) as it will be copied
32 // to Chrome install folder after install is complete 38 // to Chrome install folder after install is complete
33 // install_temp_path: working directory used during install/update. It should 39 // install_temp_path: working directory used during install/update. It should
34 // also has a sub dir source that contains a complete 40 // also has a sub dir source that contains a complete
35 // and unpacked Chrome package. 41 // and unpacked Chrome package.
(...skipping 10 matching lines...) Expand all
46 const FilePath& setup_path, 52 const FilePath& setup_path,
47 const FilePath& archive_path, 53 const FilePath& archive_path,
48 const FilePath& install_temp_path, 54 const FilePath& install_temp_path,
49 const FilePath& prefs_path, 55 const FilePath& prefs_path,
50 const installer::MasterPreferences& prefs, 56 const installer::MasterPreferences& prefs,
51 const Version& new_version); 57 const Version& new_version);
52 58
53 } // namespace installer 59 } // namespace installer
54 60
55 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ 61 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698