diff options
author | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-18 17:54:48 +0000 |
---|---|---|
committer | zmo@google.com <zmo@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-18 17:54:48 +0000 |
commit | 92c699d5a6b73316cb9fd7f44ef9753038b02846 (patch) | |
tree | d252157e33f107736619be082422fd753a3956e1 /chrome/test/testing_profile.h | |
parent | c63248d4041385f117c09a47cee79415396193c5 (diff) | |
download | chromium_src-92c699d5a6b73316cb9fd7f44ef9753038b02846.zip chromium_src-92c699d5a6b73316cb9fd7f44ef9753038b02846.tar.gz chromium_src-92c699d5a6b73316cb9fd7f44ef9753038b02846.tar.bz2 |
Refactor WebResourceService class, making it more generic. Move all the promo-related code into a new PromoResourceService class that inherits WebResourceService.
This refactoring will allow us to re-use WebResourceService class for GPU Blacklist updates purpose.
This CL tries to minimize the code change and adds no new logic.
BUG=68802
TEST=unittest,promo functions working fine as before.
Review URL: http://codereview.chromium.org/6542003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75403 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/testing_profile.h')
-rw-r--r-- | chrome/test/testing_profile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/testing_profile.h b/chrome/test/testing_profile.h index ec2f82a..9d41ae1 100644 --- a/chrome/test/testing_profile.h +++ b/chrome/test/testing_profile.h @@ -237,7 +237,7 @@ class TestingProfile : public Profile { virtual WebKitContext* GetOffTheRecordWebKitContext(); virtual void MarkAsCleanShutdown() {} virtual void InitExtensions() {} - virtual void InitWebResources() {} + virtual void InitPromoResources() {} virtual NTPResourceCache* GetNTPResourceCache(); virtual DesktopNotificationService* GetDesktopNotificationService(); |