Standardize naming of "data reduction" in Android UI code.
commit830be1efe51ea888b066d8b8dd0e64dae3164b1f
authornewt <newt@chromium.org>
Thu, 16 Jul 2015 21:54:33 +0000 (16 14:54 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 16 Jul 2015 21:55:11 +0000 (16 21:55 +0000)
tree97c626a4f130212666b4cbee502bc84c2db78bbe
parent4d4f5d76394e96a487908ad3b0635e9b7eeecd47
Standardize naming of "data reduction" in Android UI code.

DataReduction is the standard name used in code for the "Data Saver"
feature. Parts of the codebase, however, use the terms
BandwidthReduction and ReduceDataUsage instead, and inconsistently so.
This changes everything to use DataReduction.

This also moves BandwidthType.java to the privacy package, since that's
the only place it's used.

Review URL: https://codereview.chromium.org/1242513003

Cr-Commit-Position: refs/heads/master@{#339134}
17 files changed:
chrome/android/java/res/layout/data_reduction_stats_layout.xml [moved from chrome/android/java/res/layout/data_reduction_statistics_layout.xml with 97% similarity]
chrome/android/java/res/xml/data_reduction_preferences.xml [moved from chrome/android/java/res/xml/bandwidth_reduction_preferences.xml with 53% similarity]
chrome/android/java/res/xml/data_reduction_preferences_off.xml [moved from chrome/android/java/res/xml/bandwidth_reduction_preferences_off.xml with 95% similarity]
chrome/android/java/res/xml/main_preferences.xml
chrome/android/java/src/org/chromium/chrome/browser/ChromeTabbedActivity.java
chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java
chrome/android/java/src/org/chromium/chrome/browser/document/DocumentActivity.java
chrome/android/java/src/org/chromium/chrome/browser/net/spdyproxy/DataReductionProxySettings.java
chrome/android/java/src/org/chromium/chrome/browser/preferences/MainPreferences.java
chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionPreferences.java [moved from chrome/android/java/src/org/chromium/chrome/browser/preferences/bandwidth/BandwidthReductionPreferences.java with 80% similarity]
chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionPromoScreen.java [moved from chrome/android/java/src/org/chromium/chrome/browser/preferences/bandwidth/DataReductionPromoScreen.java with 98% similarity]
chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionProxyUma.java [moved from chrome/android/java/src/org/chromium/chrome/browser/preferences/bandwidth/DataReductionProxyUma.java with 97% similarity]
chrome/android/java/src/org/chromium/chrome/browser/preferences/datareduction/DataReductionStatsPreference.java [moved from chrome/android/java/src/org/chromium/chrome/browser/preferences/bandwidth/BandwidthStatisticsPreferenceCategory.java with 93% similarity]
chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/BandwidthType.java [moved from chrome/android/java/src/org/chromium/chrome/browser/preferences/bandwidth/BandwidthType.java with 95% similarity]
chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/PrivacyPreferencesManager.java
chrome/android/java/src/org/chromium/chrome/browser/snackbar/LoFiBarPopupController.java
chrome/android/java/strings/android_chrome_strings.grd