| 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" |
| 11 #include "components/browsing_data/core/pref_names.h" | 11 #include "components/browsing_data/core/pref_names.h" |
| 12 #include "components/prefs/pref_service.h" | 12 #include "components/prefs/pref_service.h" |
| 13 #include "components/strings/grit/components_strings.h" | 13 #include "components/strings/grit/components_strings.h" |
| 14 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" | 14 #include "ios/chrome/browser/browser_state/chrome_browser_state.h" |
| 15 #include "ios/chrome/browser/chrome_url_constants.h" | 15 #include "ios/chrome/browser/chrome_url_constants.h" |
| 16 #import "ios/chrome/browser/ui/history/history_entry_item.h" | 16 #import "ios/chrome/browser/ui/history/history_entry_item.h" |
| 17 #import "ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_cont
roller.h" | 17 #import "ios/chrome/browser/ui/settings/clear_browsing_data_collection_view_cont
roller.h" |
| 18 #import "ios/chrome/browser/ui/settings/settings_collection_view_controller.h" | 18 #import "ios/chrome/browser/ui/settings/settings_collection_view_controller.h" |
| 19 #import "ios/chrome/browser/ui/tools_menu/tools_menu_view_controller.h" | 19 #include "ios/chrome/browser/ui/tools_menu/tools_menu_constants.h" |
| 20 #import "ios/chrome/browser/ui/tools_menu/tools_popup_controller.h" | 20 #import "ios/chrome/browser/ui/tools_menu/tools_popup_controller.h" |
| 21 #import "ios/chrome/browser/ui/util/transparent_link_button.h" | 21 #import "ios/chrome/browser/ui/util/transparent_link_button.h" |
| 22 #include "ios/chrome/common/string_util.h" | 22 #include "ios/chrome/common/string_util.h" |
| 23 #include "ios/chrome/grit/ios_strings.h" | 23 #include "ios/chrome/grit/ios_strings.h" |
| 24 #import "ios/chrome/test/app/chrome_test_util.h" | 24 #import "ios/chrome/test/app/chrome_test_util.h" |
| 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" |
| (...skipping 507 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 - (void)resetBrowsingDataPrefs { | 537 - (void)resetBrowsingDataPrefs { |
| 538 PrefService* prefs = chrome_test_util::GetOriginalBrowserState()->GetPrefs(); | 538 PrefService* prefs = chrome_test_util::GetOriginalBrowserState()->GetPrefs(); |
| 539 prefs->ClearPref(browsing_data::prefs::kDeleteBrowsingHistory); | 539 prefs->ClearPref(browsing_data::prefs::kDeleteBrowsingHistory); |
| 540 prefs->ClearPref(browsing_data::prefs::kDeleteCookies); | 540 prefs->ClearPref(browsing_data::prefs::kDeleteCookies); |
| 541 prefs->ClearPref(browsing_data::prefs::kDeleteCache); | 541 prefs->ClearPref(browsing_data::prefs::kDeleteCache); |
| 542 prefs->ClearPref(browsing_data::prefs::kDeletePasswords); | 542 prefs->ClearPref(browsing_data::prefs::kDeletePasswords); |
| 543 prefs->ClearPref(browsing_data::prefs::kDeleteFormData); | 543 prefs->ClearPref(browsing_data::prefs::kDeleteFormData); |
| 544 } | 544 } |
| 545 | 545 |
| 546 @end | 546 @end |
| OLD | NEW |