| Index: chrome/browser/browser_main.cc
|
| diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc
|
| index 6ca2b4bf3426b6aa3fd53f2b4b3d860cc612e77b..fd0f7fb607df6e3b5b2ddbbf7bebb0aedb3201ce 100644
|
| --- a/chrome/browser/browser_main.cc
|
| +++ b/chrome/browser/browser_main.cc
|
| @@ -44,6 +44,7 @@
|
| #include "chrome/browser/plugin_service.h"
|
| #include "chrome/browser/process_singleton.h"
|
| #include "chrome/browser/profile_manager.h"
|
| +#include "chrome/browser/profile.h"
|
| #include "chrome/browser/renderer_host/resource_dispatcher_host.h"
|
| #include "chrome/browser/shell_integration.h"
|
| #include "chrome/browser/user_data_manager.h"
|
| @@ -100,7 +101,6 @@
|
| #include "chrome/browser/browser_trial.h"
|
| #include "chrome/browser/metrics/user_metrics.h"
|
| #include "chrome/browser/net/url_fixer_upper.h"
|
| -#include "chrome/browser/profile.h"
|
| #include "chrome/browser/rlz/rlz.h"
|
| #include "chrome/browser/views/user_data_dir_dialog.h"
|
| #include "chrome/common/env_vars.h"
|
| @@ -682,6 +682,10 @@ int BrowserMain(const MainFunctionParams& parameters) {
|
| CHECK(profile) << "Cannot get default profile.";
|
| #endif
|
|
|
| + // Now that we have a profile, try to load the visited link master on a
|
| + // background thread. We want to start this as soon as we can.
|
| + profile->PreloadVisitedLinkMaster();
|
| +
|
| PrefService* user_prefs = profile->GetPrefs();
|
| DCHECK(user_prefs);
|
|
|
|
|