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

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

Issue 2722693002: [ios] Creates ToolsMenuConstants file (Closed)
Patch Set: Rebase Created 3 years, 9 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"
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 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 - (void)resetBrowsingDataPrefs { 529 - (void)resetBrowsingDataPrefs {
530 PrefService* prefs = chrome_test_util::GetOriginalBrowserState()->GetPrefs(); 530 PrefService* prefs = chrome_test_util::GetOriginalBrowserState()->GetPrefs();
531 prefs->ClearPref(browsing_data::prefs::kDeleteBrowsingHistory); 531 prefs->ClearPref(browsing_data::prefs::kDeleteBrowsingHistory);
532 prefs->ClearPref(browsing_data::prefs::kDeleteCookies); 532 prefs->ClearPref(browsing_data::prefs::kDeleteCookies);
533 prefs->ClearPref(browsing_data::prefs::kDeleteCache); 533 prefs->ClearPref(browsing_data::prefs::kDeleteCache);
534 prefs->ClearPref(browsing_data::prefs::kDeletePasswords); 534 prefs->ClearPref(browsing_data::prefs::kDeletePasswords);
535 prefs->ClearPref(browsing_data::prefs::kDeleteFormData); 535 prefs->ClearPref(browsing_data::prefs::kDeleteFormData);
536 } 536 }
537 537
538 @end 538 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/find_bar/find_in_page_egtest.mm ('k') | ios/chrome/browser/ui/keyboard_commands_egtest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698