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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java

Issue 2364033002: customtabs: Enable first contentful reporting. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
index 6f8fa1d257c50f88d4f81bdcc6e6b6588a5c6401..f9af63a3514859db30cd3c3775d7e2c1801f4727 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/customtabs/CustomTabActivityTest.java
@@ -827,10 +827,6 @@ public class CustomTabActivityTest extends CustomTabActivityTestBase {
@SmallTest
@RetryOnFailure
public void testPageLoadMetricIsSent() {
- Context context = getInstrumentation().getTargetContext().getApplicationContext();
- CustomTabsConnection connection = CustomTabsConnection.getInstance((Application) context);
- connection.enablePageLoadMetricsCallbacks();
-
final AtomicReference<Long> firstContentfulPaintMs = new AtomicReference<>(-1L);
CustomTabsCallback cb = new CustomTabsCallback() {
@Override
« no previous file with comments | « chrome/android/java/src/org/chromium/chrome/browser/customtabs/CustomTabsConnection.java ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698