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

Unified Diff: chrome/browser/chrome_browser_main.cc

Issue 2919223002: [Cleanup] Remove the obsolete variations_seed pref. (Closed)
Patch Set: Fix the test Created 3 years, 6 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
« no previous file with comments | « no previous file | chrome/browser/first_run/first_run.h » ('j') | components/variations/variations_seed_store.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_browser_main.cc
diff --git a/chrome/browser/chrome_browser_main.cc b/chrome/browser/chrome_browser_main.cc
index d6f90641522bfb7dc51335a89ea59bd18dd8ec5b..5110d8b94cd98b73685d315adefe7a7dc538bfb1 100644
--- a/chrome/browser/chrome_browser_main.cc
+++ b/chrome/browser/chrome_browser_main.cc
@@ -1147,16 +1147,9 @@ int ChromeBrowserMainParts::PreCreateThreadsImpl() {
// Store the initial VariationsService seed in local state, if it exists
// in master prefs.
- if (!master_prefs_->variations_seed.empty() ||
- !master_prefs_->compressed_variations_seed.empty()) {
- if (!master_prefs_->variations_seed.empty()) {
- local_state_->SetString(variations::prefs::kVariationsSeed,
- master_prefs_->variations_seed);
- }
- if (!master_prefs_->compressed_variations_seed.empty()) {
- local_state_->SetString(variations::prefs::kVariationsCompressedSeed,
- master_prefs_->compressed_variations_seed);
- }
+ if (!master_prefs_->compressed_variations_seed.empty()) {
+ local_state_->SetString(variations::prefs::kVariationsCompressedSeed,
+ master_prefs_->compressed_variations_seed);
if (!master_prefs_->variations_seed_signature.empty()) {
local_state_->SetString(variations::prefs::kVariationsSeedSignature,
master_prefs_->variations_seed_signature);
« no previous file with comments | « no previous file | chrome/browser/first_run/first_run.h » ('j') | components/variations/variations_seed_store.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698