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

Side by Side Diff: chrome/browser/first_run/first_run.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/first_run/first_run.h" 5 #include "chrome/browser/first_run/first_run.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 454 matching lines...) Expand 10 before | Expand all | Expand 10 after
465 &value) && value) { 465 &value) && value) {
466 out_prefs->suppress_first_run_default_browser_prompt = true; 466 out_prefs->suppress_first_run_default_browser_prompt = true;
467 } 467 }
468 468
469 install_prefs.GetString( 469 install_prefs.GetString(
470 installer::master_preferences::kDistroImportBookmarksFromFilePref, 470 installer::master_preferences::kDistroImportBookmarksFromFilePref,
471 &out_prefs->import_bookmarks_path); 471 &out_prefs->import_bookmarks_path);
472 472
473 out_prefs->compressed_variations_seed = 473 out_prefs->compressed_variations_seed =
474 install_prefs.GetCompressedVariationsSeed(); 474 install_prefs.GetCompressedVariationsSeed();
475 out_prefs->variations_seed = install_prefs.GetVariationsSeed();
476 out_prefs->variations_seed_signature = 475 out_prefs->variations_seed_signature =
477 install_prefs.GetVariationsSeedSignature(); 476 install_prefs.GetVariationsSeedSignature();
478 477
479 install_prefs.GetString( 478 install_prefs.GetString(
480 installer::master_preferences::kDistroSuppressDefaultBrowserPromptPref, 479 installer::master_preferences::kDistroSuppressDefaultBrowserPromptPref,
481 &out_prefs->suppress_default_browser_prompt_for_version); 480 &out_prefs->suppress_default_browser_prompt_for_version);
482 481
483 if (install_prefs.GetBool( 482 if (install_prefs.GetBool(
484 installer::master_preferences::kDistroWelcomePageOnOSUpgradeEnabled, 483 installer::master_preferences::kDistroWelcomePageOnOSUpgradeEnabled,
485 &value) && 484 &value) &&
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
732 SetShouldDoPersonalDataManagerFirstRun(); 731 SetShouldDoPersonalDataManagerFirstRun();
733 732
734 internal::DoPostImportPlatformSpecificTasks(profile); 733 internal::DoPostImportPlatformSpecificTasks(profile);
735 } 734 }
736 735
737 uint16_t auto_import_state() { 736 uint16_t auto_import_state() {
738 return g_auto_import_state; 737 return g_auto_import_state;
739 } 738 }
740 739
741 } // namespace first_run 740 } // namespace first_run
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698