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

Unified Diff: chrome/browser/android/offline_pages/offline_page_bridge.h

Issue 2705323006: Last_n: Do not save a snapshot of a closing tab. (Closed)
Patch Set: Rebase after base change landed. Created 3 years, 10 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/offline_pages/offline_page_bridge.h
diff --git a/chrome/browser/android/offline_pages/offline_page_bridge.h b/chrome/browser/android/offline_pages/offline_page_bridge.h
index 96790c41954df988743ac172e81600b1eefb173f..ddf12fe5051c501759f631f3017514d54bb04ac6 100644
--- a/chrome/browser/android/offline_pages/offline_page_bridge.h
+++ b/chrome/browser/android/offline_pages/offline_page_bridge.h
@@ -128,6 +128,9 @@ class OfflinePageBridge : public OfflinePageModel::Observer,
void RegisterRecentTab(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,
int tab_id);
+ void WillCloseTab(JNIEnv* env,
+ const base::android::JavaParamRef<jobject>& obj,
+ const base::android::JavaParamRef<jobject>& j_web_contents);
void UnregisterRecentTab(JNIEnv* env,
const base::android::JavaParamRef<jobject>& obj,
int tab_id);

Powered by Google App Engine
This is Rietveld 408576698