| Index: chrome/browser/android/vr_shell/toolbar_state.cc
|
| diff --git a/chrome/browser/android/vr_shell/toolbar_state.cc b/chrome/browser/android/vr_shell/toolbar_state.cc
|
| index d752f7f243d72d194c808e33a95485f0079818a5..2d684527ed919c42cc3b2df6eebf6dea82de3784 100644
|
| --- a/chrome/browser/android/vr_shell/toolbar_state.cc
|
| +++ b/chrome/browser/android/vr_shell/toolbar_state.cc
|
| @@ -10,24 +10,30 @@ ToolbarState::ToolbarState()
|
| : gurl(GURL()),
|
| security_level(security_state::SecurityLevel::NONE),
|
| vector_icon(nullptr),
|
| - should_display_url(true) {}
|
| + should_display_url(true),
|
| + offline_page(false) {}
|
|
|
| ToolbarState::ToolbarState(const GURL& url,
|
| security_state::SecurityLevel level,
|
| const gfx::VectorIcon* icon,
|
| base::string16 verbose_text,
|
| - bool display_url)
|
| + bool display_url,
|
| + bool offline)
|
| : gurl(url),
|
| security_level(level),
|
| vector_icon(icon),
|
| secure_verbose_text(verbose_text),
|
| - should_display_url(display_url) {}
|
| + should_display_url(display_url),
|
| + offline_page(offline) {}
|
| +
|
| +ToolbarState::ToolbarState(const ToolbarState& other) = default;
|
|
|
| bool ToolbarState::operator==(const ToolbarState& other) const {
|
| return (gurl == other.gurl && security_level == other.security_level &&
|
| vector_icon == other.vector_icon &&
|
| should_display_url == other.should_display_url &&
|
| - secure_verbose_text == other.secure_verbose_text);
|
| + secure_verbose_text == other.secure_verbose_text &&
|
| + offline_page == other.offline_page);
|
| }
|
|
|
| bool ToolbarState::operator!=(const ToolbarState& other) const {
|
|
|