Index: chrome/installer/util/install_util.h |
=================================================================== |
--- chrome/installer/util/install_util.h (revision 64604) |
+++ chrome/installer/util/install_util.h (working copy) |
@@ -15,6 +15,7 @@ |
#include <string> |
#include "base/basictypes.h" |
+#include "chrome/installer/util/master_preferences.h" |
#include "chrome/installer/util/util_constants.h" |
#include "chrome/installer/util/version.h" |
@@ -118,6 +119,12 @@ |
static bool DeleteRegistryValue(HKEY reg_root, const std::wstring& key_path, |
const std::wstring& value_name); |
+ // Returns a static preference object that has been initialized with the |
+ // CommandLine object for the current process. |
+ // NOTE: Must not be called before CommandLine::Init() is called! |
+ static const installer_util::MasterPreferences& |
+ GetMasterPreferencesForCurrentProcess(); |
+ |
private: |
DISALLOW_COPY_AND_ASSIGN(InstallUtil); |
}; |