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

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: address comments and move to public interface for testing 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/file_path.h"
grt (UTC plus 2) 2012/05/03 20:01:50 remove this (there's a forward decl on line 19)
gab 2012/05/04 00:04:12 Ah kk, I'll put it back in the .cc then.
14 #include "base/version.h" 15 #include "base/version.h"
15 #include "chrome/installer/util/product.h" 16 #include "chrome/installer/util/product.h"
16 #include "chrome/installer/util/util_constants.h" 17 #include "chrome/installer/util/util_constants.h"
17 18
18 class FilePath; 19 class FilePath;
19 20
20 namespace installer { 21 namespace installer {
21 22
22 class InstallationState; 23 class InstallationState;
23 class InstallerState; 24 class InstallerState;
24 class MasterPreferences; 25 class MasterPreferences;
25 26
27 // Creates VisualElementsManifest.xml beside chrome.exe in |src_path| if
28 // |src_path|\VisualElements exists.
29 // If |installer_state| is not NULL, updates the stage to
grt (UTC plus 2) 2012/05/03 20:01:50 remove this part of the comment
gab 2012/05/04 00:04:12 Indeed..
30 // CREATING_VISUAL_MANIFEST.
31 // Returns true unless the manifest is supposed to be created, but fails to be.
32 bool CreateVisualElementsManifest(const FilePath& src_path,
33 const Version& version);
34
26 // This function installs or updates a new version of Chrome. It returns 35 // This function installs or updates a new version of Chrome. It returns
27 // install status (failed, new_install, updated etc). 36 // install status (failed, new_install, updated etc).
28 // 37 //
29 // setup_path: Path to the executable (setup.exe) as it will be copied 38 // setup_path: Path to the executable (setup.exe) as it will be copied
30 // to Chrome install folder after install is complete 39 // to Chrome install folder after install is complete
31 // archive_path: Path to the archive (chrome.7z) as it will be copied 40 // archive_path: Path to the archive (chrome.7z) as it will be copied
32 // to Chrome install folder after install is complete 41 // to Chrome install folder after install is complete
33 // install_temp_path: working directory used during install/update. It should 42 // install_temp_path: working directory used during install/update. It should
34 // also has a sub dir source that contains a complete 43 // also has a sub dir source that contains a complete
35 // and unpacked Chrome package. 44 // and unpacked Chrome package.
(...skipping 10 matching lines...) Expand all
46 const FilePath& setup_path, 55 const FilePath& setup_path,
47 const FilePath& archive_path, 56 const FilePath& archive_path,
48 const FilePath& install_temp_path, 57 const FilePath& install_temp_path,
49 const FilePath& prefs_path, 58 const FilePath& prefs_path,
50 const installer::MasterPreferences& prefs, 59 const installer::MasterPreferences& prefs,
51 const Version& new_version); 60 const Version& new_version);
52 61
53 } // namespace installer 62 } // namespace installer
54 63
55 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_ 64 #endif // CHROME_INSTALLER_SETUP_INSTALL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698