diff options
author | dominich@chromium.org <dominich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-05 17:50:50 +0000 |
---|---|---|
committer | dominich@chromium.org <dominich@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-05 17:50:50 +0000 |
commit | 3085c50e9961a71ec0bb473c26efad9ca6589e46 (patch) | |
tree | 7fd256605ce42e8e4ddee423e0dde13a655ff355 /chrome/test/base/testing_profile.h | |
parent | 56f38f4aee4a6fb282d20bd6f0f506661e00d81f (diff) | |
download | chromium_src-3085c50e9961a71ec0bb473c26efad9ca6589e46.zip chromium_src-3085c50e9961a71ec0bb473c26efad9ca6589e46.tar.gz chromium_src-3085c50e9961a71ec0bb473c26efad9ca6589e46.tar.bz2 |
Moved PrerenderManager to ProfileKeyedService system.
As per https://groups.google.com/a/chromium.org/group/chromium-dev/browse_thread/thread/554b5b0ca05e001d# it is recommended that weak references to services be removed from Profiles and constructed as ProfileKeyedServices instead. This does this for the PrerenderManager.
(Continuation of http://codereview.chromium.org/7795009/)
BUG=94643
TEST=Prerender*
Review URL: http://codereview.chromium.org/7846001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104130 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/base/testing_profile.h')
-rw-r--r-- | chrome/test/base/testing_profile.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chrome/test/base/testing_profile.h b/chrome/test/base/testing_profile.h index 925cc44..e13436d 100644 --- a/chrome/test/base/testing_profile.h +++ b/chrome/test/base/testing_profile.h @@ -278,7 +278,6 @@ class TestingProfile : public Profile { virtual ExtensionInfoMap* GetExtensionInfoMap(); virtual PromoCounter* GetInstantPromoCounter(); virtual ChromeURLDataManager* GetChromeURLDataManager(); - virtual prerender::PrerenderManager* GetPrerenderManager(); virtual chrome_browser_net::Predictor* GetNetworkPredictor(); virtual void DeleteTransportSecurityStateSince(base::Time time); virtual PrefService* GetOffTheRecordPrefs(); @@ -399,8 +398,6 @@ class TestingProfile : public Profile { scoped_ptr<ChromeURLDataManager> chrome_url_data_manager_; - scoped_ptr<prerender::PrerenderManager> prerender_manager_; - // We keep a weak pointer to the dependency manager we want to notify on our // death. Defaults to the Singleton implementation but overridable for // testing. |