53 lines
2.2 KiB
Diff
53 lines
2.2 KiB
Diff
diff --git a/chrome/browser/resources/settings/privacy_page/personalization_options.ts b/chrome/browser/resources/settings/privacy_page/personalization_options.ts
|
|
index 0641b12fb6a9ea105267a26f438dd146b2fc6ce8..59f94d21778ed239e2cbb28cfd826046abc276c1 100644
|
|
--- a/chrome/browser/resources/settings/privacy_page/personalization_options.ts
|
|
+++ b/chrome/browser/resources/settings/privacy_page/personalization_options.ts
|
|
@@ -81,7 +81,7 @@ export class SettingsPersonalizationOptionsElement extends
|
|
return {
|
|
syncStatus: Object,
|
|
|
|
- // <if expr="_google_chrome and not is_chromeos">
|
|
+ // <if expr="not is_chromeos">
|
|
// TODO(dbeam): make a virtual.* pref namespace and set/get this normally
|
|
// (but handled differently in C++).
|
|
metricsReportingPref_: {
|
|
@@ -150,7 +150,7 @@ export class SettingsPersonalizationOptionsElement extends
|
|
|
|
declare syncStatus: SyncStatus;
|
|
|
|
- // <if expr="_google_chrome and not is_chromeos">
|
|
+ // <if expr="not is_chromeos">
|
|
declare private metricsReportingPref_:
|
|
chrome.settingsPrivate.PrefObject<boolean>;
|
|
declare private showRestart_: boolean;
|
|
@@ -201,7 +201,7 @@ export class SettingsPersonalizationOptionsElement extends
|
|
override ready() {
|
|
super.ready();
|
|
|
|
- // <if expr="_google_chrome and not is_chromeos">
|
|
+ // <if expr="not is_chromeos">
|
|
const setMetricsReportingPref = (metricsReporting: MetricsReporting) =>
|
|
this.setMetricsReportingPref_(metricsReporting);
|
|
this.addWebUiListener('metrics-reporting-change', setMetricsReportingPref);
|
|
@@ -216,9 +216,11 @@ export class SettingsPersonalizationOptionsElement extends
|
|
this.setChromeSigninUserChoiceInfo_.bind(this));
|
|
// </if>
|
|
|
|
+ // <if expr="_google_chrome">
|
|
this.registerHelpBubble(
|
|
ANONYMIZED_URL_COLLECTION_ID,
|
|
this.$.urlCollectionToggle.getBubbleAnchor(), {anchorPaddingTop: 10});
|
|
+ // </if>
|
|
}
|
|
|
|
// <if expr="is_chromeos">
|
|
@@ -239,7 +241,7 @@ export class SettingsPersonalizationOptionsElement extends
|
|
}
|
|
// </if>
|
|
|
|
- // <if expr="_google_chrome and not is_chromeos">
|
|
+ // <if expr="not is_chromeos">
|
|
private onMetricsReportingChange_() {
|
|
const control = this.shadowRoot!.querySelector<SettingsToggleButtonElement>(
|
|
'#metricsReportingControl');
|