Commit c2540eba authored by Sylvain Defresne's avatar Sylvain Defresne Committed by Commit Bot

[ios] Remove support for pre M-59 sessions

Remove compatibility aliases allowing to load sessions saved with
Chrome version pre M-59 (should have been after M-68 was released
which happened long ago).

Bug: 661633
Change-Id: I617dc4a394f61e0a4a89cd2da40ff73b2650d903
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2255611
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Stepan Khapugin <stkhapugin@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: default avatarStepan Khapugin <stkhapugin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#780796}
parent 80b8a77a
......@@ -52,24 +52,6 @@ NSString* const kRootObjectKey = @"root"; // Key for the root object.
// removal and mark it with a release at least one year after the introduction
// of the alias.
- (void)cr_registerCompatibilityAliases {
// TODO(crbug.com/661633): those aliases where introduced between M57 and
// M58, so remove them after M67 has shipped to stable.
[self setClass:[CRWSessionCertificatePolicyCacheStorage class]
forClassName:@"SessionCertificatePolicyManager"];
[self setClass:[CRWSessionStorage class] forClassName:@"SessionController"];
[self setClass:[CRWSessionStorage class]
forClassName:@"CRWSessionController"];
[self setClass:[CRWNavigationItemStorage class] forClassName:@"SessionEntry"];
[self setClass:[CRWNavigationItemStorage class]
forClassName:@"CRWSessionEntry"];
[self setClass:[SessionWindowIOS class] forClassName:@"SessionWindow"];
// TODO(crbug.com/661633): this alias was introduced between M58 and M59, so
// remove it after M68 has shipped to stable.
[self setClass:[CRWSessionStorage class]
forClassName:@"CRWNavigationManagerStorage"];
[self setClass:[CRWSessionCertificatePolicyCacheStorage class]
forClassName:@"CRWSessionCertificatePolicyManager"];
}
@end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment