| Index: chrome/browser/profiles/profile_impl.cc
|
| ===================================================================
|
| --- chrome/browser/profiles/profile_impl.cc (revision 72270)
|
| +++ chrome/browser/profiles/profile_impl.cc (working copy)
|
| @@ -13,6 +13,7 @@
|
| #include "base/scoped_ptr.h"
|
| #include "base/string_number_conversions.h"
|
| #include "base/string_util.h"
|
| +#include "chrome/browser/about_flags.h"
|
| #include "chrome/browser/appcache/chrome_appcache_service.h"
|
| #include "chrome/browser/autocomplete/autocomplete_classifier.h"
|
| #include "chrome/browser/autofill/personal_data_manager.h"
|
| @@ -277,6 +278,9 @@
|
| pref_change_registrar_.Add(prefs::kEnableAutoSpellCorrect, this);
|
| pref_change_registrar_.Add(prefs::kClearSiteDataOnExit, this);
|
|
|
| + // Convert active labs into switches. Modifies the current command line.
|
| + about_flags::ConvertFlagsToSwitches(prefs, CommandLine::ForCurrentProcess());
|
| +
|
| // It would be nice to use PathService for fetching this directory, but
|
| // the cache directory depends on the profile directory, which isn't available
|
| // to PathService.
|
|
|