From 4a23327d451274446261b18ded7b7f014176995e Mon Sep 17 00:00:00 2001 From: "blundell@chromium.org" Date: Thu, 5 Jun 2014 10:54:17 +0000 Subject: Eliminate GoogleURLTracker having a Profile ivar This CL eliminates GoogleURLTracker needing to have a Profile ivar by adding APIs to GoogleURLTrackerClient to get the PrefService and URLRequestContextGetter to use. This CL additionally eliminates GoogleURLTracker's dependence on //chrome-level prefs by moving the kLastKnownGoogleURL and kLastPromptedGoogleURL prefs into the google component. BUG=373222,373239 TBR=thakis Review URL: https://codereview.chromium.org/307113002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@275060 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/prefs/browser_prefs.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'chrome/browser/prefs/browser_prefs.cc') diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc index fcc3191..80e80af5 100644 --- a/chrome/browser/prefs/browser_prefs.cc +++ b/chrome/browser/prefs/browser_prefs.cc @@ -88,6 +88,7 @@ #include "chrome/common/pref_names.h" #include "components/autofill/core/browser/autofill_manager.h" #include "components/bookmarks/browser/bookmark_utils.h" +#include "components/google/core/browser/google_pref_names.h" #include "components/network_time/network_time_tracker.h" #include "components/password_manager/core/browser/password_manager.h" #include "components/pref_registry/pref_registry_syncable.h" -- cgit v1.1