summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs/browser_prefs.cc
diff options
context:
space:
mode:
authorblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 10:54:17 +0000
committerblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-05 10:54:17 +0000
commit4a23327d451274446261b18ded7b7f014176995e (patch)
tree34247c7e463f632cc824012af91105ceff9e0ba1 /chrome/browser/prefs/browser_prefs.cc
parent446138cd2adee448ae5a23a824a733e333ea040e (diff)
downloadchromium_src-4a23327d451274446261b18ded7b7f014176995e.zip
chromium_src-4a23327d451274446261b18ded7b7f014176995e.tar.gz
chromium_src-4a23327d451274446261b18ded7b7f014176995e.tar.bz2
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
Diffstat (limited to 'chrome/browser/prefs/browser_prefs.cc')
-rw-r--r--chrome/browser/prefs/browser_prefs.cc1
1 files changed, 1 insertions, 0 deletions
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"