Commit 0fc9202d authored by Ali Juma's avatar Ali Juma Committed by Commit Bot

Make cache_egtest.mm EG2 compatible

This adds the file as an EG2 target, and updates #includes.

Bug: 987646
Change-Id: Iece7bdc789b49e36443566f6fc00fb9be6902fa9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1756213
Commit-Queue: Ali Juma <ajuma@chromium.org>
Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
Cr-Commit-Position: refs/heads/master@{#687347}
parent 432978d3
......@@ -377,6 +377,7 @@ source_set("eg2_tests") {
testonly = true
sources = [
"cache_egtest.mm",
"child_window_open_by_dom_egtest.mm",
"error_page_egtest.mm",
"js_print_egtest.mm",
......
......@@ -2,19 +2,16 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#import <EarlGrey/EarlGrey.h>
#include <memory>
#include "base/ios/ios_util.h"
#include "base/strings/stringprintf.h"
#include "ios/chrome/browser/ui/util/ui_util.h"
#import "ios/chrome/test/app/chrome_test_util.h"
#import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
#import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
#import "ios/chrome/test/earl_grey/chrome_matchers.h"
#import "ios/chrome/test/earl_grey/chrome_test_case.h"
#include "ios/chrome/test/earl_grey/scoped_block_popups_pref.h"
#import "ios/testing/earl_grey/earl_grey_test.h"
#include "ios/web/public/test/http_server/html_response_provider.h"
#import "ios/web/public/test/http_server/http_server.h"
#include "ios/web/public/test/http_server/http_server_util.h"
......@@ -24,7 +21,6 @@
#error "This file requires ARC support."
#endif
using chrome_test_util::GetOriginalBrowserState;
using web::test::HttpServer;
namespace {
......
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