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

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

Issue 2242473002: Add an about:flag to control WebApk enablement. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix last native reference Created 4 years, 4 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/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java
index 8689b50062cfee8ef38868831f93586a002e3e79..a347934d41125572fce740f817ff77e558f3eb96 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/preferences/privacy/ClearBrowsingDataPreferencesTest.java
@@ -104,7 +104,7 @@ public class ClearBrowsingDataPreferencesTest
WebappRegistry.getRegisteredWebappIds(getActivity(), new WebappRegistry.FetchCallback() {
@Override
public void onWebappIdsRetrieved(Set<String> ids) {
- assertEquals(new HashSet<String>(Arrays.asList("first")), ids);
+ assertEquals(new HashSet<>(Arrays.asList("first")), ids);
pkotwicz 2016/08/15 15:27:52 The changes in this file seem unrelated to your CL
Yaron 2016/08/16 01:08:42 eclipse auto-fixes accordingly to its configuratio
mCallbackCalled = true;
}
});
@@ -159,7 +159,7 @@ public class ClearBrowsingDataPreferencesTest
WebappRegistry.getRegisteredWebappIds(getActivity(), new WebappRegistry.FetchCallback() {
@Override
public void onWebappIdsRetrieved(Set<String> ids) {
- assertEquals(new HashSet<String>(Arrays.asList("first")), ids);
+ assertEquals(new HashSet<>(Arrays.asList("first")), ids);
mCallbackCalled = true;
}
});
@@ -186,7 +186,7 @@ public class ClearBrowsingDataPreferencesTest
WebappRegistry.getRegisteredWebappIds(getActivity(), new WebappRegistry.FetchCallback() {
@Override
public void onWebappIdsRetrieved(Set<String> ids) {
- assertEquals(new HashSet<String>(Arrays.asList("first")), ids);
+ assertEquals(new HashSet<>(Arrays.asList("first")), ids);
mCallbackCalled = true;
}
});

Powered by Google App Engine
This is Rietveld 408576698