diff options
author | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-09 00:24:38 +0000 |
---|---|---|
committer | pkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-09 00:24:38 +0000 |
commit | 665fa0122d3d38e6f6df6850f3037f4e2d7a2e3e (patch) | |
tree | 5dc1d2ea3228b6260737fc184d731899cf5eff58 /chrome/test/base/testing_browser_process.cc | |
parent | df7d301334a4b275f0b9321cadcfecccc244210b (diff) | |
download | chromium_src-665fa0122d3d38e6f6df6850f3037f4e2d7a2e3e.zip chromium_src-665fa0122d3d38e6f6df6850f3037f4e2d7a2e3e.tar.gz chromium_src-665fa0122d3d38e6f6df6850f3037f4e2d7a2e3e.tar.bz2 |
Make GoogleURLTracker a profile-keyed service.
The original multi-profile work made this object use the system request context, which meant it never sent cookies to searchdomaincheck. This is bad because these are important to determining the correct domain to reply with.
Instead, there should be a different instance per-profile, and these instances should use the standard Profile-scoped cookie stores, so we send the relevant google.com cookies.
BUG=106086
TEST=Requests to searchdomaincheck should send cookies.
Review URL: https://chromiumcodereview.appspot.com/10377054
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@135959 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/base/testing_browser_process.cc')
-rw-r--r-- | chrome/test/base/testing_browser_process.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/test/base/testing_browser_process.cc b/chrome/test/base/testing_browser_process.cc index e399007..e1cd71c 100644 --- a/chrome/test/base/testing_browser_process.cc +++ b/chrome/test/base/testing_browser_process.cc @@ -5,7 +5,6 @@ #include "chrome/test/base/testing_browser_process.h" #include "base/string_util.h" -#include "chrome/browser/google/google_url_tracker.h" #include "chrome/browser/notifications/notification_ui_manager.h" #include "chrome/browser/policy/browser_policy_connector.h" #include "chrome/browser/policy/policy_service_impl.h" @@ -147,10 +146,6 @@ NotificationUIManager* TestingBrowserProcess::notification_ui_manager() { #endif } -GoogleURLTracker* TestingBrowserProcess::google_url_tracker() { - return google_url_tracker_.get(); -} - IntranetRedirectDetector* TestingBrowserProcess::intranet_redirect_detector() { return NULL; } @@ -254,11 +249,6 @@ void TestingBrowserProcess::SetLocalState(PrefService* local_state) { local_state_ = local_state; } -void TestingBrowserProcess::SetGoogleURLTracker( - GoogleURLTracker* google_url_tracker) { - google_url_tracker_.reset(google_url_tracker); -} - void TestingBrowserProcess::SetIOThread(IOThread* io_thread) { io_thread_ = io_thread; } |