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

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

Issue 2450353005: Revert of Showing previews UI for Offline Previews (Closed)
Patch Set: Created 4 years, 2 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_tab_helper.h
diff --git a/chrome/browser/android/offline_pages/offline_page_tab_helper.h b/chrome/browser/android/offline_pages/offline_page_tab_helper.h
index 991857a8b84ba4ee6bfa6d031501026ca9d9671b..8ded15dff9f73a0f2da25095d9520ed0315bb29d 100644
--- a/chrome/browser/android/offline_pages/offline_page_tab_helper.h
+++ b/chrome/browser/android/offline_pages/offline_page_tab_helper.h
@@ -42,7 +42,7 @@
}
// Whether the page is an offline preview.
- bool IsShowingOfflinePreview() const;
+ bool is_offline_preview() const { return offline_info_.is_offline_preview; }
// Returns provisional offline page since actual navigation does not happen
// during unit tests.
@@ -64,7 +64,7 @@
// Whether the page is an offline preview. Offline page previews are shown
// when a user's effective connection type is prohibitively slow.
- bool is_showing_offline_preview;
+ bool is_offline_preview;
void Clear();
};

Powered by Google App Engine
This is Rietveld 408576698