Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: mobile/android/app/mobile.js

Issue 6252349005758464: Never show the home banner (Closed)
Patch Set: Created Dec. 24, 2014, 7:48 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* This Source Code Form is subject to the terms of the Mozilla Public 1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this 2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4 4
5 #filter substitution 5 #filter substitution
6 6
7 // For browser.xml binding 7 // For browser.xml binding
8 // 8 //
9 // cacheRatio* is a ratio that determines the amount of pixels to cache. The 9 // cacheRatio* is a ratio that determines the amount of pixels to cache. The
10 // ratio is multiplied by the viewport width or height to get the displayport's 10 // ratio is multiplied by the viewport width or height to get the displayport's
(...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after
832 // How frequently we check for new snippets, in seconds (1 day) 832 // How frequently we check for new snippets, in seconds (1 day)
833 pref("browser.snippets.updateInterval", 86400); 833 pref("browser.snippets.updateInterval", 86400);
834 834
835 // URL used to check for user's country code 835 // URL used to check for user's country code
836 pref("browser.snippets.geoUrl", "https://geo.mozilla.org/country.json"); 836 pref("browser.snippets.geoUrl", "https://geo.mozilla.org/country.json");
837 837
838 // URL used to ping metrics with stats about which snippets have been shown 838 // URL used to ping metrics with stats about which snippets have been shown
839 pref("browser.snippets.statsUrl", "https://snippets-stats.mozilla.org/mobile"); 839 pref("browser.snippets.statsUrl", "https://snippets-stats.mozilla.org/mobile");
840 840
841 // These prefs require a restart to take effect. 841 // These prefs require a restart to take effect.
842 pref("browser.snippets.enabled", true); 842 // We don't want to see any snippets in Adblock Browser for now.
843 pref("browser.snippets.syncPromo.enabled", true); 843 pref("browser.snippets.enabled", false);
844 pref("browser.snippets.firstrunHomepage.enabled", true); 844 pref("browser.snippets.syncPromo.enabled", false);
845 pref("browser.snippets.firstrunHomepage.enabled", false);
845 846
846 // The URL of the APK factory from which we obtain APKs for webapps. 847 // The URL of the APK factory from which we obtain APKs for webapps.
847 pref("browser.webapps.apkFactoryUrl", "https://controller.apk.firefox.com/applic ation.apk"); 848 pref("browser.webapps.apkFactoryUrl", "https://controller.apk.firefox.com/applic ation.apk");
848 849
849 // How frequently to check for webapp updates, in seconds (86400 is daily). 850 // How frequently to check for webapp updates, in seconds (86400 is daily).
850 pref("browser.webapps.updateInterval", 86400); 851 pref("browser.webapps.updateInterval", 86400);
851 852
852 // Whether or not to check for updates. Enabled by default, but the runtime 853 // Whether or not to check for updates. Enabled by default, but the runtime
853 // disables it for webapp profiles on firstrun, so only the main Fennec process 854 // disables it for webapp profiles on firstrun, so only the main Fennec process
854 // checks for updates (to avoid duplicate update notifications). 855 // checks for updates (to avoid duplicate update notifications).
(...skipping 15 matching lines...) Expand all
870 // The mode of home provider syncing. 871 // The mode of home provider syncing.
871 // 0: Sync always 872 // 0: Sync always
872 // 1: Sync only when on wifi 873 // 1: Sync only when on wifi
873 pref("home.sync.updateMode", 0); 874 pref("home.sync.updateMode", 0);
874 875
875 // How frequently to check if we should sync home provider data. 876 // How frequently to check if we should sync home provider data.
876 pref("home.sync.checkIntervalSecs", 3600); 877 pref("home.sync.checkIntervalSecs", 3600);
877 878
878 // Enable device storage API 879 // Enable device storage API
879 pref("device.storage.enabled", true); 880 pref("device.storage.enabled", true);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld