| Index: chrome/installer/util/master_preferences.cc
|
| ===================================================================
|
| --- chrome/installer/util/master_preferences.cc (revision 181784)
|
| +++ chrome/installer/util/master_preferences.cc (working copy)
|
| @@ -12,6 +12,7 @@
|
| #include "base/path_service.h"
|
| #include "base/string_util.h"
|
| #include "chrome/common/env_vars.h"
|
| +#include "chrome/common/pref_names.h"
|
| #include "chrome/installer/util/master_preferences_constants.h"
|
| #include "chrome/installer/util/util_constants.h"
|
| #include "googleurl/src/gurl.h"
|
| @@ -314,6 +315,12 @@
|
| master_preferences::kExtensionsBlock, extensions);
|
| }
|
|
|
| +std::string MasterPreferences::GetVariationsSeed() const {
|
| + std::string variations_seed;
|
| + master_dictionary_->GetString(prefs::kVariationsSeed, &variations_seed);
|
| + return variations_seed;
|
| +}
|
| +
|
| // static
|
| const MasterPreferences& MasterPreferences::ForCurrentProcess() {
|
| return g_master_preferences.Get();
|
|
|