summaryrefslogtreecommitdiffstats
path: root/content/content_tests.gypi
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 16:48:19 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-29 16:48:19 +0000
commit91c06e5e57d38760631ed240b1161a2af613b974 (patch)
treec24a23ab720050396179a46ddc4c64a4426dcbaa /content/content_tests.gypi
parentc7fd73291df44ad9c03c04d8aba6e5d694bf2864 (diff)
downloadchromium_src-91c06e5e57d38760631ed240b1161a2af613b974.zip
chromium_src-91c06e5e57d38760631ed240b1161a2af613b974.tar.gz
chromium_src-91c06e5e57d38760631ed240b1161a2af613b974.tar.bz2
Add a scoper object for URLFetcher::Factory
This should make it much safer to use (i.e. memory-safe). BUG=90585 Review URL: http://codereview.chromium.org/7524033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@94694 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_tests.gypi')
-rw-r--r--content/content_tests.gypi15
1 files changed, 15 insertions, 0 deletions
diff --git a/content/content_tests.gypi b/content/content_tests.gypi
index 5920993..15a48cd5 100644
--- a/content/content_tests.gypi
+++ b/content/content_tests.gypi
@@ -5,9 +5,24 @@
{
'targets': [
{
+ 'target_name': 'test_support_content',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'content_common',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'sources': [
+ 'test/test_url_fetcher_factory.cc',
+ 'test/test_url_fetcher_factory.h',
+ ],
+ },
+ {
'target_name': 'content_unittests',
'type': 'executable',
'dependencies': [
+ 'test_support_content',
'../base/base.gyp:test_support_base',
],
'include_dirs': [