Moved test/app/web_view_interaction_test_util.h calls to chrome_earl_grey.

Original cl introduced build breakage in ios_internal
To solve the issue this cl has old methods that are used in external_url_egtests.

This is part of EG1 to EG2 migration, which involves moving EarlGrey code from
app-side helpers into test code. For GREYAsserts, the policy is to take assert-
containing-helpers, modify them to return NSError* with localizedDescription
containing the assert failure (in the event of a failure), and then assert
on the result of the helper on the test side.

Also cleaned code in internal_os repository(submit only after this cl)

Bug: 922813
Change-Id: I5d3556c1a016726797edb5daf38b783082a9979e
Commit-Queue: Maksym Onufriienko <>
Reviewed-by: Eugene But <>
Cr-Commit-Position: refs/heads/master@{#661395}
77 files changed