| Index: chrome/browser/resources/chromeos/arc_support/playstore.js
|
| diff --git a/chrome/browser/resources/chromeos/arc_support/playstore.js b/chrome/browser/resources/chromeos/arc_support/playstore.js
|
| index 2eda8bee7050c96432c1aacbf3a5511b5e4dac94..dc6e2172adc2e4d6de892449aff037a563d38682 100644
|
| --- a/chrome/browser/resources/chromeos/arc_support/playstore.js
|
| +++ b/chrome/browser/resources/chromeos/arc_support/playstore.js
|
| @@ -112,5 +112,19 @@ function formatDocument() {
|
| document.body.hidden = true;
|
| }
|
|
|
| +/**
|
| + * Searches in footer for a privacy policy link. Returns default if not found.
|
| + */
|
| +function getPrivacyPolicyLink() {
|
| + var links = document.getElementById('play-footer').getElementsByTagName('a');
|
| + for (var i = 0; i < links.length; ++i) {
|
| + var targetURL = links[i].href;
|
| + if (targetURL.endsWith('/policies/privacy/')) {
|
| + return targetURL;
|
| + }
|
| + }
|
| + return 'https://www.google.com/policies/privacy/';
|
| +}
|
| +
|
| formatDocument();
|
| processLangZoneTerms();
|
|
|