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

Unified Diff: chrome/browser/sessions/tab_restore_service.cc

Issue 10832080: Upstream session_backend_android. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 5 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/sessions/tab_restore_service.cc
diff --git a/chrome/browser/sessions/tab_restore_service.cc b/chrome/browser/sessions/tab_restore_service.cc
index 76d97bd538aec6eecf91a7a5e067520c6f52dbbe..ec8a9c3c2088207bcd5844ddcb64235ddf2d1887 100644
--- a/chrome/browser/sessions/tab_restore_service.cc
+++ b/chrome/browser/sessions/tab_restore_service.cc
@@ -536,6 +536,7 @@ void TabRestoreService::PopulateTab(Tab* tab,
tab->current_navigation_index = 0;
tab->tabstrip_index = index;
+#if !defined(OS_ANDROID)
Yaron 2012/08/01 20:45:02 I don't believe this is necessary. We now compile
felipeg 2012/08/02 13:07:01 Done.
TabContents* tab_contents =
TabContents::FromWebContents(controller->GetWebContents());
// tab_contents is NULL in some browser tests.
@@ -545,6 +546,7 @@ void TabRestoreService::PopulateTab(Tab* tab,
if (extension)
tab->extension_app_id = extension->id();
}
+#endif
tab->session_storage_namespace = controller->GetSessionStorageNamespace();

Powered by Google App Engine
This is Rietveld 408576698