| Index: chrome/browser/ui/startup/startup_browser_creator.cc
|
| diff --git a/chrome/browser/ui/startup/startup_browser_creator.cc b/chrome/browser/ui/startup/startup_browser_creator.cc
|
| index 38cc153f64b02b303c24e3c0c13b89602e550bb3..23f73175f09cf0da6471c7f8f0aea3529ae7ecd5 100644
|
| --- a/chrome/browser/ui/startup/startup_browser_creator.cc
|
| +++ b/chrome/browser/ui/startup/startup_browser_creator.cc
|
| @@ -21,6 +21,7 @@
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/metrics/histogram_macros.h"
|
| #include "base/metrics/statistics_recorder.h"
|
| +#include "base/prefs/pref_registry_simple.h"
|
| #include "base/prefs/pref_service.h"
|
| #include "base/profiler/scoped_profile.h"
|
| #include "base/strings/string_number_conversions.h"
|
| @@ -432,6 +433,15 @@ void StartupBrowserCreator::ClearLaunchedProfilesForTesting() {
|
| }
|
|
|
| // static
|
| +void StartupBrowserCreator::RegisterLocalStatePrefs(
|
| + PrefRegistrySimple* registry) {
|
| +#if defined(OS_WIN)
|
| + registry->RegisterStringPref(prefs::kLastWelcomedOSVersion, std::string());
|
| + registry->RegisterBooleanPref(prefs::kWelcomePageOnOSUpgradeEnabled, true);
|
| +#endif
|
| +}
|
| +
|
| +// static
|
| std::vector<GURL> StartupBrowserCreator::GetURLsFromCommandLine(
|
| const base::CommandLine& command_line,
|
| const base::FilePath& cur_dir,
|
|
|