Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7009)

Unified Diff: chrome/browser/resources/options/browser_options.html

Issue 1411863002: Use kMetricsReportingEnabled instead of kStatsReporingPref on metrics side (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add default value for device setting Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options.html
diff --git a/chrome/browser/resources/options/browser_options.html b/chrome/browser/resources/options/browser_options.html
index 3dd0fddd61842ca2db0f7b2bd1ba0388f8860dab..3a26a8c863ae6806304c37081d29cb77522e6a4a 100644
--- a/chrome/browser/resources/options/browser_options.html
+++ b/chrome/browser/resources/options/browser_options.html
@@ -426,18 +426,6 @@
<if expr="_google_chrome">
<div id="metrics-reporting-setting"
class="checkbox controlled-setting-with-label">
-<if expr="chromeos">
- <label>
- <input id="metrics-reporting-enabled"
- pref="cros.metrics.reportingEnabled" type="checkbox">
- <span>
- <span i18n-content="enableLogging"></span>
- <span class="controlled-setting-indicator"
- pref="cros.metrics.reportingEnabled"></span>
- </span>
- </label>
-</if>
-<if expr="not chromeos">
<label>
<input id="metrics-reporting-enabled" type="checkbox">
<span>
@@ -446,12 +434,13 @@
class="controlled-setting-indicator"></span>
</span>
</label>
+<if expr="not chromeos">
<span id="metrics-reporting-reset-restart" hidden>
<!-- Text filled by JavaScript -->
<span></span><a is="action-link" role="button"
class="standalone-action-link"></a><span></span>
</span>
-</if>
+</if> <!-- not chromeos -->
</div>
</if> <!-- _google_chrome -->
<div class="checkbox">
« no previous file with comments | « chrome/browser/profiles/profile_io_data.cc ('k') | chrome/browser/resources/options/browser_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698