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

Unified Diff: chrome/browser/android/foreign_session_helper.h

Issue 36473002: Foreign session pages now load into current tab. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sky Created 7 years, 1 month 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/foreign_session_helper.h
diff --git a/chrome/browser/android/foreign_session_helper.h b/chrome/browser/android/foreign_session_helper.h
index 0cc59992d5ac9c7d495b9fd3c22fe47ab3aee6f3..28525c76ac64c0995b7e1e69a676db23e04e0403 100644
--- a/chrome/browser/android/foreign_session_helper.h
+++ b/chrome/browser/android/foreign_session_helper.h
@@ -28,10 +28,18 @@ class ForeignSessionHelper : public content::NotificationObserver {
jboolean IsTabSyncEnabled(JNIEnv* env, jobject obj);
void SetOnForeignSessionCallback(JNIEnv* env, jobject obj, jobject callback);
jboolean GetForeignSessions(JNIEnv* env, jobject obj, jobject result);
+ // TODO(apiccion): Remvoe this method once downstream CL Lands.
+ // See: http://crbug.com/257102
+ jboolean OpenForeignSessionTabOld(JNIEnv* env,
+ jobject obj,
+ jstring session_tag,
+ jint tab_id);
jboolean OpenForeignSessionTab(JNIEnv* env,
jobject obj,
+ jobject j_tab,
jstring session_tag,
- jint tab_id);
+ jint tab_id,
+ jint disposition);
void DeleteForeignSession(JNIEnv* env, jobject obj, jstring session_tag);
// NotificationObserver implemenation

Powered by Google App Engine
This is Rietveld 408576698