diff options
author | ralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-29 18:05:34 +0000 |
---|---|---|
committer | ralphl@chromium.org <ralphl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-01-29 18:05:34 +0000 |
commit | d4d33e99c0d60534aef17f888315e842cd6fba06 (patch) | |
tree | 4ad1e3cd28afb6d529d9b41cb1b53bcc94c85c19 /chrome | |
parent | 4234ab017a352322ec2badde8f8bd6183c37079b (diff) | |
download | chromium_src-d4d33e99c0d60534aef17f888315e842cd6fba06.zip chromium_src-d4d33e99c0d60534aef17f888315e842cd6fba06.tar.gz chromium_src-d4d33e99c0d60534aef17f888315e842cd6fba06.tar.bz2 |
A minor change to the pattern for filter factories that makes the implementation more flexible, and prevents the use of templates by the client.
Now, the filters themselves simply expose a static FilterFactory() method that returns a new factory object. The constructor and destructor of the class
should be private and the FilterFactory object shuold be declarded as a friend. There is still a template factory, but the class uses this template class
directly (if they want to us it) to implement their factory.
Review URL: http://codereview.chromium.org/19435
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8894 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
0 files changed, 0 insertions, 0 deletions