| 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();
|
| };
|
|
|