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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java

Issue 2671743002: Separate state of basic and advanced tab in CBD dialog (Closed)
Patch Set: fix .classpath file Created 3 years, 10 months 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
Index: chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java b/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java
index 6fd0b20d4cbb998637375a53e0aa4ab9bf50f4ca..456cedbf3ba65c9834b1fe30ef0f7941c40af556 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataTabsFragment.java
@@ -30,7 +30,9 @@ import java.util.Locale;
public class ClearBrowsingDataTabsFragment extends Fragment {
public static final int CBD_TAB_COUNT = 2;
- public ClearBrowsingDataTabsFragment() {}
+ public ClearBrowsingDataTabsFragment() {
msramek 2017/02/08 10:55:56 Note that migrating syncable preferences is someti
dullweber 2017/02/08 23:03:18 This code also isn't executed when chrome starts b
+ PrefServiceBridge.getInstance().migrateBrowsingDataPreferences();
msramek 2017/02/08 10:55:56 Please add a TODO to remove this code in, let's sa
dullweber 2017/02/08 23:03:18 Done.
+ }
public static boolean isFeatureEnabled() {
msramek 2017/02/08 10:55:55 Javadocs for public methods plz :)
dullweber 2017/02/08 23:03:18 Done.
return ChromeFeatureList.isEnabled(ChromeFeatureList.TABS_IN_CBD);

Powered by Google App Engine
This is Rietveld 408576698