summaryrefslogtreecommitdiffstats
path: root/components/components_tests.gyp
diff options
context:
space:
mode:
authorsdefresne <sdefresne@chromium.org>2015-08-06 01:51:55 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-06 08:52:35 +0000
commit44eb1f20ab04cb90b7ec6ae6eec67671ab2f9041 (patch)
treeb43b0b2dba44192e307070589dbb8c9cc4ad74a9 /components/components_tests.gyp
parent2595929afa1296eb18700245fc7f62248ce4a2c8 (diff)
downloadchromium_src-44eb1f20ab04cb90b7ec6ae6eec67671ab2f9041.zip
chromium_src-44eb1f20ab04cb90b7ec6ae6eec67671ab2f9041.tar.gz
chromium_src-44eb1f20ab04cb90b7ec6ae6eec67671ab2f9041.tar.bz2
Componentize upload_list.{h,cc} and crash_upload_list.{h,cc}.
Componentize upload_list.{h,cc} and crash_upload_list.{h,cc} so that the code can be shared with iOS. Do not move the factory function into the component (as it depends on //content) nor the system specific sub-classes of CrashUploadList (as they depends on //components/crash that cannot be used on iOS). Remove the dependency on content::BrowserThread by injecting the base::SequencedWorkerPool, passing the base::SequencedTaskRunner to LoadUploadListAndInformDelegateOfCompletion and checking the thread using base::ThreadChecker. BUG=516343 Review URL: https://codereview.chromium.org/1269073002 Cr-Commit-Position: refs/heads/master@{#342079}
Diffstat (limited to 'components/components_tests.gyp')
-rw-r--r--components/components_tests.gyp5
1 files changed, 5 insertions, 0 deletions
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index 018fc1a..786c424 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -623,6 +623,9 @@
'update_client/update_query_params_unittest.cc',
'update_client/update_response_unittest.cc',
],
+ 'upload_list_unittest_sources': [
+ 'upload_list/upload_list_unittest.cc',
+ ],
'url_fixer_unittest_sources': [
'url_fixer/url_fixer_unittest.cc',
],
@@ -765,6 +768,7 @@
'<@(translate_unittest_sources)',
'<@(undo_unittest_sources)',
'<@(update_client_unittest_sources)',
+ '<@(upload_list_unittest_sources)',
'<@(url_fixer_unittest_sources)',
'<@(url_matcher_unittest_sources)',
'<@(variations_unittest_sources)',
@@ -881,6 +885,7 @@
'components.gyp:undo_component',
'components.gyp:update_client',
'components.gyp:update_client_test_support',
+ 'components.gyp:upload_list',
'components.gyp:url_fixer',
'components.gyp:variations',
'components.gyp:variations_http_provider',