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

Unified Diff: chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryActivityTest.java

Issue 2935783002: Send microsecond resolution timestamps to Java history page so they can be sent back. (Closed)
Patch Set: Updates for twellington@ Created 3 years, 6 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/history/HistoryActivityTest.java
diff --git a/chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryActivityTest.java b/chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryActivityTest.java
index f56cf10a337796c4d75ddaa5760ef83d3e99cf27..4f0f12d8ff6594b47549246d9ba381c8029a90f1 100644
--- a/chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryActivityTest.java
+++ b/chrome/android/javatests/src/org/chromium/chrome/browser/history/HistoryActivityTest.java
@@ -129,9 +129,9 @@ public class HistoryActivityTest extends BaseActivityInstrumentationTestCase<His
mHistoryProvider = new StubbedHistoryProvider();
Date today = new Date();
- long[] timestamps = {today.getTime()};
- mItem1 = StubbedHistoryProvider.createHistoryItem(0, timestamps);
- mItem2 = StubbedHistoryProvider.createHistoryItem(1, timestamps);
+ long timestamp = today.getTime();
+ mItem1 = StubbedHistoryProvider.createHistoryItem(0, timestamp);
+ mItem2 = StubbedHistoryProvider.createHistoryItem(1, timestamp);
mHistoryProvider.addItem(mItem1);
mHistoryProvider.addItem(mItem2);

Powered by Google App Engine
This is Rietveld 408576698