[cr144][ios] SessionState no longer used

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/e40d536b015fdf7da2bf59b38e2a29dfab227bf6

commit e40d536b015fdf7da2bf59b38e2a29dfab227bf6
Author: Sylvain Defresne <sdefresne@chromium.org>
Date:   Thu Nov 6 09:30:59 2025 -0800

    [ios] Remove session_state legacy target

    This code is no longer used and can be removed.

    This is part of a multi-CLs change:
      - https://crrev.com/c/6979449
      - https://crrev.com/c/6979586
      - https://crrev.com/c/6979667
      - https://crrev.com/c/6979626
      - https://crrev.com/c/6983123
      - https://crrev.com/c/6983202
      - https://crrev.com/c/7074893
      - https://crrev.com/c/6983024
      - https://crrev.com/c/6983144
      - https://crrev.com/c/6982943
     => https://crrev.com/c/6983445
      - https://crrev.com/c/6983504
      - https://crrev.com/c/6983010
      - https://crrev.com/c/6983050
      - https://crrev.com/c/6983423
      - https://crrev.com/c/6983287
      - https://crrev.com/c/7003327
      - https://crrev.com/c/7002783
      - https://crrev.com/c/7002962
      - https://crrev.com/c/7003743
      - https://crrev.com/c/7003123
      - https://crrev.com/c/7003225
      - https://crrev.com/c/7003227
      - https://crrev.com/c/7003087
      - https://crrev.com/c/7027213

    Bug: 40945317
    Change-Id: I9e87943d682e822aa8d2adb0a53fabe63b33b1c2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6983445
    Reviewed-by: Federica Germinario <fedegermi@google.com>
    Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1541279}
This commit is contained in:
Emerick Rogul
2025-12-20 23:56:19 +00:00
committed by Claudio DeSouza
parent 94ff42e57f
commit 53bd9ab056
@@ -10,14 +10,12 @@
#import "ios/chrome/browser/https_upgrades/model/https_only_mode_upgrade_tab_helper.h"
#import "ios/chrome/browser/https_upgrades/model/https_upgrade_service_factory.h"
#import "ios/chrome/browser/https_upgrades/model/typed_navigation_upgrade_tab_helper.h"
#include "ios/chrome/browser/sessions/model/web_session_state_tab_helper.h"
#import "ios/chrome/browser/shared/model/profile/profile_ios.h"
#include "ios/chrome/browser/tabs/model/ios_chrome_synced_tab_delegate.h"
#import "ios/components/security_interstitials/https_only_mode/https_only_mode_container.h"
#import "ios/components/security_interstitials/ios_blocking_page_tab_helper.h"
void AttachTabHelpers(web::WebState* web_state, TabHelperFilter filter_flags) {
WebSessionStateTabHelper::CreateForWebState(web_state);
IOSTaskTabHelper::CreateForWebState(web_state);
security_interstitials::IOSBlockingPageTabHelper::CreateForWebState(