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

Unified 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, 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 side-by-side diff with in-line comments
Download patch
Index: chrome/installer/setup/install.h
diff --git a/chrome/installer/setup/install.h b/chrome/installer/setup/install.h
index 370c51e46053630e40da6a52718d530d760139e7..d984754464c06529a39155c3ce025c406f8be033 100644
--- a/chrome/installer/setup/install.h
+++ b/chrome/installer/setup/install.h
@@ -11,6 +11,7 @@
#include <string>
#include <vector>
+#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.
#include "base/version.h"
#include "chrome/installer/util/product.h"
#include "chrome/installer/util/util_constants.h"
@@ -23,6 +24,14 @@ class InstallationState;
class InstallerState;
class MasterPreferences;
+// Creates VisualElementsManifest.xml beside chrome.exe in |src_path| if
+// |src_path|\VisualElements exists.
+// 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..
+// CREATING_VISUAL_MANIFEST.
+// Returns true unless the manifest is supposed to be created, but fails to be.
+bool CreateVisualElementsManifest(const FilePath& src_path,
+ const Version& version);
+
// This function installs or updates a new version of Chrome. It returns
// install status (failed, new_install, updated etc).
//

Powered by Google App Engine
This is Rietveld 408576698