| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |