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

Unified Diff: chrome/browser/android/history/browsing_history_bridge.h

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/browser/android/history/browsing_history_bridge.h
diff --git a/chrome/browser/android/history/browsing_history_bridge.h b/chrome/browser/android/history/browsing_history_bridge.h
index c03862b893453c94647e2966eb18f6b58a967927..3669adecc2568b1757fcccfda7a0d287f6f94eaa 100644
--- a/chrome/browser/android/history/browsing_history_bridge.h
+++ b/chrome/browser/android/history/browsing_history_bridge.h
@@ -6,6 +6,8 @@
#define CHROME_BROWSER_ANDROID_HISTORY_BROWSING_HISTORY_BRIDGE_H_
#include <jni.h>
+
+#include <memory>
#include <vector>
#include "base/android/jni_android.h"
@@ -19,7 +21,6 @@ using base::android::JavaParamRef;
// history UI. This queries the BrowsingHistoryService and listens
// for callbacks.
class BrowsingHistoryBridge : public BrowsingHistoryServiceHandler {
-
public:
explicit BrowsingHistoryBridge(JNIEnv* env,
const JavaParamRef<jobject>& obj,
@@ -32,14 +33,13 @@ class BrowsingHistoryBridge : public BrowsingHistoryServiceHandler {
jstring j_query,
int64_t j_query_end_time);
- // Adds a HistoryEntry with the |j_url| and |j_timestamps| to the list of
- // items being removed. The removal will not be committed until
+ // Adds a HistoryEntry with the |j_url| and |j_native_timestamps| to the list
+ // of items being removed. The removal will not be committed until
// ::removeItems() is called.
- void MarkItemForRemoval(
- JNIEnv* env,
- const JavaParamRef<jobject>& obj,
- jstring j_url,
- const JavaParamRef<jlongArray>& j_timestamps);
+ void MarkItemForRemoval(JNIEnv* env,
+ const JavaParamRef<jobject>& obj,
+ jstring j_url,
+ const JavaParamRef<jlongArray>& j_native_timestamps);
// Removes all items that have been marked for removal through
// ::markItemForRemoval().

Powered by Google App Engine
This is Rietveld 408576698