Commit cdfa2474 authored by Nohemi Fernandez's avatar Nohemi Fernandez Committed by Commit Bot

[iOS] Remove deprecated method signOutAndClearAccounts in ChromeEarlGrey

This method is no longer used, clean up sign-in utilities.

Bug: 1103274
Change-Id: I2b5a68c869d723e2216ab41fdf984948ce5b1eb5
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2352804
Auto-Submit: Nohemi Fernandez <fernandex@chromium.org>
Commit-Queue: Eugene But <eugenebut@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#797680}
parent 7afe4111
...@@ -353,11 +353,6 @@ id ExecuteJavaScript(NSString* javascript, NSError* __autoreleasing* out_error); ...@@ -353,11 +353,6 @@ id ExecuteJavaScript(NSString* javascript, NSError* __autoreleasing* out_error);
// the operation fails. // the operation fails.
- (void)signOutAndClearIdentities; - (void)signOutAndClearIdentities;
// Same as signOutAndClearIdentities.
//
// DEPRECATED in favor of signOutAndClearIdentities
- (void)signOutAndClearAccounts;
#pragma mark - Sync Utilities (EG2) #pragma mark - Sync Utilities (EG2)
// Waits for sync to be initialized or not. If not succeeded a GREYAssert is // Waits for sync to be initialized or not. If not succeeded a GREYAssert is
......
...@@ -850,16 +850,12 @@ GREY_STUB_CLASS_IN_APP_MAIN_QUEUE(ChromeEarlGreyAppInterface) ...@@ -850,16 +850,12 @@ GREY_STUB_CLASS_IN_APP_MAIN_QUEUE(ChromeEarlGreyAppInterface)
@"Failed waiting for identities to be cleared"); @"Failed waiting for identities to be cleared");
} }
- (void)signOutAndClearAccounts { #pragma mark - Bookmarks Utilities (EG2)
[self signOutAndClearIdentities];
}
- (void)addBookmarkWithSyncPassphrase:(NSString*)syncPassphrase { - (void)addBookmarkWithSyncPassphrase:(NSString*)syncPassphrase {
[ChromeEarlGreyAppInterface addBookmarkWithSyncPassphrase:syncPassphrase]; [ChromeEarlGreyAppInterface addBookmarkWithSyncPassphrase:syncPassphrase];
} }
#pragma mark - Bookmarks Utilities (EG2)
- (void)waitForBookmarksToFinishLoading { - (void)waitForBookmarksToFinishLoading {
EG_TEST_HELPER_ASSERT_NO_ERROR( EG_TEST_HELPER_ASSERT_NO_ERROR(
[ChromeEarlGreyAppInterface waitForBookmarksToFinishinLoading]); [ChromeEarlGreyAppInterface waitForBookmarksToFinishinLoading]);
......
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