Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: ios/chrome/browser/ui/history/history_ui_egtest.mm

Issue 2898733003: Split up ios/web:test_support. (Closed)
Patch Set: don't break downstream clients Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import <EarlGrey/EarlGrey.h> 5 #import <EarlGrey/EarlGrey.h>
6 #import <UIKit/UIKit.h> 6 #import <UIKit/UIKit.h>
7 #import <XCTest/XCTest.h> 7 #import <XCTest/XCTest.h>
8 8
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
(...skipping 14 matching lines...) Expand all
25 #import "ios/chrome/test/earl_grey/accessibility_util.h" 25 #import "ios/chrome/test/earl_grey/accessibility_util.h"
26 #import "ios/chrome/test/earl_grey/chrome_assertions.h" 26 #import "ios/chrome/test/earl_grey/chrome_assertions.h"
27 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h" 27 #import "ios/chrome/test/earl_grey/chrome_earl_grey.h"
28 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h" 28 #import "ios/chrome/test/earl_grey/chrome_earl_grey_ui.h"
29 #import "ios/chrome/test/earl_grey/chrome_matchers.h" 29 #import "ios/chrome/test/earl_grey/chrome_matchers.h"
30 #import "ios/chrome/test/earl_grey/chrome_test_case.h" 30 #import "ios/chrome/test/earl_grey/chrome_test_case.h"
31 #import "ios/public/provider/chrome/browser/signin/chrome_identity.h" 31 #import "ios/public/provider/chrome/browser/signin/chrome_identity.h"
32 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity.h" 32 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity.h"
33 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity_service. h" 33 #import "ios/public/provider/chrome/browser/signin/fake_chrome_identity_service. h"
34 #import "ios/testing/wait_util.h" 34 #import "ios/testing/wait_util.h"
35 #import "ios/web/public/test/http_server.h" 35 #import "ios/web/public/test/http_server/http_server.h"
36 #import "ios/web/public/test/http_server_util.h" 36 #import "ios/web/public/test/http_server/http_server_util.h"
37 #import "net/base/mac/url_conversions.h" 37 #import "net/base/mac/url_conversions.h"
38 #include "ui/base/l10n/l10n_util.h" 38 #include "ui/base/l10n/l10n_util.h"
39 39
40 #if !defined(__has_feature) || !__has_feature(objc_arc) 40 #if !defined(__has_feature) || !__has_feature(objc_arc)
41 #error "This file requires ARC support." 41 #error "This file requires ARC support."
42 #endif 42 #endif
43 43
44 using chrome_test_util::ButtonWithAccessibilityLabelId; 44 using chrome_test_util::ButtonWithAccessibilityLabelId;
45 using chrome_test_util::NavigationBarDoneButton; 45 using chrome_test_util::NavigationBarDoneButton;
46 using chrome_test_util::OpenLinkInNewTabButton; 46 using chrome_test_util::OpenLinkInNewTabButton;
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 - (void)resetBrowsingDataPrefs { 517 - (void)resetBrowsingDataPrefs {
518 PrefService* prefs = chrome_test_util::GetOriginalBrowserState()->GetPrefs(); 518 PrefService* prefs = chrome_test_util::GetOriginalBrowserState()->GetPrefs();
519 prefs->ClearPref(browsing_data::prefs::kDeleteBrowsingHistory); 519 prefs->ClearPref(browsing_data::prefs::kDeleteBrowsingHistory);
520 prefs->ClearPref(browsing_data::prefs::kDeleteCookies); 520 prefs->ClearPref(browsing_data::prefs::kDeleteCookies);
521 prefs->ClearPref(browsing_data::prefs::kDeleteCache); 521 prefs->ClearPref(browsing_data::prefs::kDeleteCache);
522 prefs->ClearPref(browsing_data::prefs::kDeletePasswords); 522 prefs->ClearPref(browsing_data::prefs::kDeletePasswords);
523 prefs->ClearPref(browsing_data::prefs::kDeleteFormData); 523 prefs->ClearPref(browsing_data::prefs::kDeleteFormData);
524 } 524 }
525 525
526 @end 526 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/history/BUILD.gn ('k') | ios/chrome/browser/ui/history/tab_history_popup_controller_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698