summaryrefslogtreecommitdiffstats
path: root/components/components_tests.gyp
diff options
context:
space:
mode:
authorjkarlin <jkarlin@chromium.org>2015-05-28 11:38:58 -0700
committerCommit bot <commit-bot@chromium.org>2015-05-28 18:39:24 +0000
commit6970b0ad59723ced9cc473f5474e8c3c0bf5d7bc (patch)
tree75a83368d48da70f68ccb05530fdd148c714e796 /components/components_tests.gyp
parent5fc64225562800ed6f81f7f994000d19b2487f08 (diff)
downloadchromium_src-6970b0ad59723ced9cc473f5474e8c3c0bf5d7bc.zip
chromium_src-6970b0ad59723ced9cc473f5474e8c3c0bf5d7bc.tar.gz
chromium_src-6970b0ad59723ced9cc473f5474e8c3c0bf5d7bc.tar.bz2
[BackgroundSync] Launch the browser on Android when next online
On Android devices BackgroundSync needs to launch the browser the next time the device goes online if a one-shot sync is registered. This CL adds an Android Receiver and Service (BackgroundSyncLauncherService) to listen to connectvity events and launch the browser. It also provides a BackgroundSyncLauncher JNI class that C++ can interact with to register interest in launching in the background. This feature is experimental and behind a flag. Note that the components_tests.gyp change (to add content_java) is because content::StoragePartition creates a BackgroundSyncManager which immediately talks to java therefore the content java classes are needed for testing. BUG=479665 Review URL: https://codereview.chromium.org/1140813006 Cr-Commit-Position: refs/heads/master@{#331826}
Diffstat (limited to 'components/components_tests.gyp')
-rw-r--r--components/components_tests.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/components_tests.gyp b/components/components_tests.gyp
index 799a988..7712070 100644
--- a/components/components_tests.gyp
+++ b/components/components_tests.gyp
@@ -1028,6 +1028,7 @@
'dependencies': [
'components.gyp:cronet_static',
'components.gyp:data_reduction_proxy_content',
+ '../content/content.gyp:content_java',
'../testing/android/native_test.gyp:native_test_native_code',
],
'dependencies!': [